Can any one please tell me following things. 1.How can i write my code for supporting unicode languages.
I'm not sure what you mean by "unicode languages". Currently Palm OS supports several different legacy character encodings, which in turn are used by a number of different languages.
If you use the Text Mgr appropriately, your code should work with any character encoding, though there is still missing support for contextual and bidi writing systems.
2.Is there something similar to Unicode support like TCHAR(supported in windows) in Palm OS, so that it does not always take a single character as 2 bytes(1 Byte for non unicode languages and 2 bytes for unicode languages).This is because i don't want to use WCHAR(2 bytes) always and make my application use more memory.
Palm OS currently does not support Unicode. When it does, it will use the UTF-8 encoding, where every character is represented in a string by one to four bytes.
Even today, though, Palm OS supports mixed-width encodings. For example, Shift-JIS (for Japanese) is a mix of one and two bytes per character in a string. The same is true for Simplified Chinese, Traditional Chinese, and Korean.
-- 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/
