Consultor Eletrônico



Kbase 17541: 8.2 Win32 Character Client and codepages
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/10/1998
8.2 Win32 Character Client and codepages

When using the 8.2 Win32 Character Client you may have codepage
problems if your database contains accents and/or other special
characters which are in different position in different codepage
tables.

For example, starting the Character Client with default parameters
and executing this code:

OUTPUT TO PRINTER.
DISPLAY "Adiós amigos".
OUTPUT CLOSE.

the letter 'ó' may be converted to a strange symbol, depending on the
configuration of your printer. However, the Windows Client PROWIN32
works fine.

To avoid this problem, you may want to start the Character Client
using the parameters -cpstream ibm850 -cpprint iso8859-1.

However, if control characters have to be mixed in the output,
-Wa -wpp have to be used instead. For example:

OUTPUT TO PRINTER.
PUT CONTROL CHR(15).
DISPLAY "Adiós amigos".
OUTPUT CLOSE.


jsa
7 Jan 98
6 Apr 98 updated


Progress Software Technical Support Note # 17541