Consultor Eletrônico



Kbase P77497: Alt-0187 does not return chevron character in Chinese application
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/08/2004
Status: Unverified

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Alt-0187 does not return chevron character

simplified Chinese code page CP936 for client

returns "?"

from procedure editor

can see chevron character from notepad when typing alt-187

chevron is extended ASCII character encoded 187

chevron character does not exist in CP936 code page

chevron character is a valid character in any West Europe code pages

CAUSE:

Encoding 187 (BB) is not a valid character in Chinese and other double byte code pages. it is lead byte in these code pages. If the client code page is Chinese (cp936), it is expected behvior that it can not be displayed

FIX:

To make application multilingual, write conditional code to dynamically check code page at runtime and adopt appropriate actions.