Some Traditional Chinese (Big5) user defined/extended characters do not display correctly in Gen GUI client application i.e. are changed to a '?'

book

Article ID: 36094

calendar_today

Updated On:

Products

CA Gen CA Gen - Build Tool CA Gen - Workstation Toolset CA Gen - Host Encyclopedia CA Gen - Run Time Distributed 3RD PARTY TSO

Issue/Introduction

Symptoms:

A GUI client application has an MBCS Text field.

  • Most Traditional Chinese/Big5 characters display correctly when entered into the field, but some user defined/extended characters become "?" after the field loses focus.
  • If a working character is added after the problem character then it will display correctly.

 

Environment:

Microsoft Windows running under Traditional Chinese locale (Big5 / codepage 950)

 

Cause:

The problem is specific to characters which have leading 2 bytes greater than FC

 

Resolution:

The default codepage.ini file has this entry within the section for "[ 950 ]        Chinese Big-5 "

mbcsLeadBytes = 0x81-0xFC|2

If the FC is changed to FE to cover all possible extended character leading bytes the problem is resolved i.e.

mbcsLeadBytes = 0x81-0xFE|2

 

Additional Information:

Windows Codepage: 950 (Traditional Chinese Big5)

 

 

 

 

Environment

Release: KGNDDL99000-8.5-Gen-DBP Developer License
Component: