Now that I am able to copy and paste Chinese text from Notepad into
constructor 1.9 on Windows Xp.

When I run the Chinese prc on a Palm Zire 71 with CKJ OS Ver 4.61
installed, on some of the buttons on the forms I see correct Chinese
text but on some other buttons I see wierd latin characters. Palm is not
able to display these chinese characters correctly. I have also verfied
the hex codes for all the characters, the hex codes are correct.

On CJKOS I have set Char Set to "Chinese BIG5" and display to "Auto".

Should the Palm be told how to correctly display these characters? I am
not sure how to do that. Given below are examples of text which are
displayed correctly and some text which is not displayed correctly.

and also...

Does any one know how to force Palm OS not to use single byte encoding.
It is displaying Chinese characters incorrectly if the hex value of any
of two bytes is less than A0, in this case it is displaying latin
characters equivalent of the hex value. If both the bytes have a hex
value greater than A0, then the chinese character is displayed correctly.

Does any body know more or how to resolve this.

The first problem you've got is a conceptual one. The device you're using (the palmOne Zire 71) has a ROM that only supports the Latin character encoding. You've installed a 3rd party hack (CJKOS) that patches the OS so that the device encoding can now be set to Big-5 (for Traditional Chinese text). So any issues with Chinese text processing need to be directed to the makers of CJKOS.


The second problem is that CJKOS apparently only supports Big-5, and not the Hong Kong Supplemental Character Set (HKSCS). Double-byte character codes less than 0xA140 are all part of HKSCS, not the core Big-5 set. I believe the reason why you're seeing Latin characters is that CJKOS (like many other multi-byte hacks) tries to interpret what it considers to be invalid multi-byte sequences as Latin, which improves compatibility with English applications.

-- Ken
--
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to