[JDEV] Non english messages solution?
jens at mac.com
Tue Sep 25 00:04:26 CDT 2001
On Monday, September 24, 2001, at 07:50 PM, Gang Liu wrote:
> When I recv the message, I got the UTF8 byte stream. I can easily
> convert it to unicode. Now I do not
> know which encoding I should use to convert to native. I can not get
> charset of the message from jabber protocol.
Jabber messages don't have charsets. They don't need them, they're
Unicode. What you need to do is convert the Unicode data directly into
your native character set, whatever that is. Mac OS includes support for
these encoding translations, and so do Windows NT 4, 98 and later. Dunno
I suspect that you actually have an issue with the client library you're
using (JabberCOM), not with the Jabber protocol itself. If you need help
using JabberCOM or Windows Unicode translation utilities, this probably
isn't the best list to ask those questions on...
More information about the JDev