Thanks for the reply. I have seen following #defines in Palm Locale.h // Unicode character encodings #define charEncodingUCS2 CHAR_ENCODING_VALUE(9) #define charEncodingUTF8 CHAR_ENCODING_VALUE(6) #define charEncodingUTF7 CHAR_ENCODING_VALUE(24) #define charEncodingUTF16 CHAR_ENCODING_VALUE(75) #define charEncodingUTF16BE CHAR_ENCODING_VALUE(76) #define charEncodingUTF16LE CHAR_ENCODING_VALUE(77) #define charEncodingUTF32 CHAR_ENCODING_VALUE(84) #define charEncodingUTF32BE CHAR_ENCODING_VALUE(85) #define charEncodingUTF32LE CHAR_ENCODING_VALUE(86) #define charEncodingUTF7_IMAP CHAR_ENCODING_VALUE(87) #define charEncodingUCS4 CHAR_ENCODING_VALUE(88)
Does this means All theabove types arenot be supported by TxtConvertEncoding???? rgds, Ritu -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Y Rekha Sent: Tuesday, August 24, 2004 12:33 PM To: Palm Developer Forum Subject: RE: Unicode If you want the converted string in any of the formats other than UTF-8, UCS-2, UTF-16LE, or UTF-16BE, you have to do the conversion yourself. Lots of free conversion algorithms are available in the web which can be used for the conversion. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ritu Chawla Sent: Tuesday, August 24, 2004 12:23 PM To: Palm Developer Forum Subject: Unicode Hi All, I need to create a localization application which should support following languages "French, Italian, Spanish, English, German, Simplified Chineese" I need to send the send some strings to the server which should be in UNICODE. How can i make sure that string that goes to server is always in UNICODE. I had tried following approach Get current encoding using FtrGet and then convert the string to UNICODE string using following api TxtConvertEncoding This is enough ? or do i need to call some other APi's to do so. rgds, Ritu -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
