Has anyone does any work were they have data that is in UTF8 format but they need to display it on a Palm device? - I assume that in order to get the characters correct, a person would have to build their own font, then when detecting that a character as a UTF8 font, they could map it to some other font and character position that would render the correct character?
If someone else has done this or knows of a better way, please respond.
If the UTF-8 text contains characters in the device's encoding, then you can use TxtConvertEncoding to convert from UTF-8 to the device encoding. Otherwise you'll need to do something like convert from UTF-8 to UCS-2, then use the high byte as a font selector, and the low byte as the "fake" character code, and have a bunch of your own custom fonts.
-- Ken -- Ken Krugler <http://www.krugler.org> +1 530-265-2225
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
