Consultor Eletrônico



Kbase P145047: OpenEdge 10 client does not display extended characters from other regions correctly
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/21/2009
Status: Unverified

SYMPTOM(s):

OpenEdge 10 client does not display extended characters from other regions correctly.

Extended characters from any non Western European region are not displayed correctly. They are ALL displayed as a single line where the characters should be.

Only the ASCII characters A-Z, a-z, and extended characters from the Western European region (French, German, Scandinavian) can be displayed correctly.

Non Western European Extended characters, e.g. Greek, Cyrillic or Czech will not display correctly.

FACT(s) (Environment):

The Windows XP machine is configured as a U.S. Windows Client with English United States (language for non Unicode programs).
Windows XP
OpenEdge 10.x

CAUSE:

This is a font problem. Progress is trying to display the extended character using the DefaultFont set in the registry or the ini file, which is MS Sans Serif. However, MS Sans Serif does not support these characters.

Usually when Progress requests a font, Windows may map it to another font which has the attributes requested (character set, size, etc.). MS Sans Serif may be mapped to Microsoft Sans Serif because the fonts are visually indistinguishable and Microsoft Sans Serif contains all of the characters from MS Sans Serif. Alternatively, sometimes Windows changes the script of a font depending on the default locale so that you get the extended characters for that locale.

In this particular case the current locale is Western European or U.S. and so the fonts and scripts for other regions are not available.

FIX:

To work are around this problem there are two possible alternatives:

1. In the ini file or registry, set the DefaultFont key value to Microsoft Sans Serif which does support extended characters from other regions:
Microsoft Sans Serif, size=8

2. Install OS Support for east Asian languages or complex scripts. Either (or both) of the following options will resolve the problem:
- Install Supplemental language support: Control Panel-> Regional and Language Options-> Languages tab-> Supplemental language support-> Check 'Install files for East Asian languages'
- Install Supplemental language support: Control Panel-> Regional and Language Options-> Languages tab-> Supplemental language support-> Check 'Install files for complex script and right-to-left languages (including Thai).