> >What function call can be used to convert utf8 or manager unicode in Palm? > >Please go into detail about it. > >and > > >the palm uses it own version of the MS cp1252 for latin one languages and > >SJIS for Japanese. it doesn't have routines to handle utf8 or unicode. if > >you need to use these character sets you will need to add in your own > >routines to convert to and from whatever charactersets you may require. > >Actually Palm OS 4.0 has a TxtConvertEncoding routine, which supports >conversion between Unicode and the device's character encoding >(either direction). It can handle the UTF-8 and UCS-2 encodings for >Unicode. A stripped down version of this same routine also exists in >ROMs used by Sony's 3.5-based devices. >But my palm os is v.3.5.2 >It does not support TxtConvertEncoding routine. >What other methods can convert encoding? None the I know of. You'd need to implement your own version of TxtConvertEncoding if you need to map between Unicode and the device encoding. It's unlikely that this would ever become a routine in PalmOSGlue, since it requires big (almost 30K) data tables for handling Shift-JIS in either direction (you could obviously trim this down if you only needed to go from the device to Unicode, or were willing to accept slow Unicode->device conversion speeds). -- 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/tech/support/forums/
