Gen GUI client displays Traditional Chinese (Big5) extended characters as '?'
search cancel

Gen GUI client displays Traditional Chinese (Big5) extended characters as '?'

book

Article ID: 36094

calendar_today

Updated On:

Products

Gen

Issue/Introduction

A Gen 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 locale/codepage 950 i.e. Traditional Chinese (Big5)
Gen GUI Client runtime

Cause

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

Resolution

The default file "%Gen86%\Gen\codepage.ini" 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