[JDEV] Chinese/Japanese char support in jabber
me at pgmillard.com
Mon Aug 19 14:25:48 CDT 2002
All streams to and from a jabber server should be UTF-8. So yes, you need to
encode everything coming from your client and send that in UTF-8 form.
Corrrespondingly, you should decode everything you get from the server FROM
UTF-8 to make sure unicode characters are decoded (and eventually displayed)
Amarnath Yara wrote:
> Hi All,
> I have a question about sending chinese/japanese chars.
> Whenever I try to send chinese/japanese chars to a buddy, the server
> is disconnecting my client.
> If my understanding is correct jabber supports(expects) UTF-8. If it
> expects UTF-8, in what form ? Should the XML be converted to UTF-8
> and passed as a binary stream ? If yes, how this can be achieved ?
> So to send non ascii chars like the chinese/japanese chars, I have to
> convert them to UTF-8 first and then send them to the server. Is this
> I have very little experience with internationalization. Any help and
> suggestions is highly appreciated. Thanks.
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> jdev mailing list
> jdev at jabber.org
More information about the JDev