Jabberd use expat parser which uses UTF8 . UTF8 can convert unicode easily, and all you need to do is convert unicode to your native encoding,I think you use early windows 95 platform which not support unicode , but your native encoding may be GBK not gb2312 exactly, you can find a code table named cp936.txt for GBK and cp950 for BIG5 from http://www.unicode.org/pub .I am not sure for exact directory, but you can find it. A more reason solution you can what is your native encoding and convert to it in your code. a few days ago , I wrote some functions GBK2UNICODE and UNICODE 2GBK, I do it query the code table but I can not find a good algorithm, if you get pls. tell me. If you have further question , feel free to mail me. > Alex She <alexshe,Hi�� > > Yes, I have tried that. > I sent a message from gb2312 encoding client to big5 encoding > client.The original byte stream is "d4acd6ceb9fa".But I got "b04baa763f" > from jabberCOM in big5 encoding client.It is wrong. How can I convert it > to native? > Thanks. > > >convert to local, > >1cn.com>:> Hi, > >> > >> Is there any Non english messages solution? My Friend and I use > >> winjabber to chat.But we use different encoding. One is > >> gb2312, the other is big5.we can not see the messages each other. > >> Thanks for any info. > >> > >> Regards, > >> > >> - Lg > >> > >> 2001-9-21 21:38:08 > >> > >> -- > >> Gang Liu / Vista Team / ShenZhen City / China > >> Email: [EMAIL PROTECTED] & [EMAIL PROTECTED] > >> Phone: +86 13923425035 > >> ICQ: 70670666 > >> Web: Coming .... > >> > >> _______________________________________________ > >> jdev mailing list > >> [EMAIL PROTECTED] > >> http://mailman.jabber.org/listinfo/jdev > >> > > > > > >------------------------------------------------- > >This mail sent through IMP: mail.wizdomtech.com > >_______________________________________________ > >jdev mailing list > >[EMAIL PROTECTED] > >http://mailman.jabber.org/listinfo/jdev > > = = = = = = = = = = = = = = = = = = = = > > > > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > ------------------------------------------------- This mail sent through IMP: mail.wizdomtech.com _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: Re: [JDEV] Non english messages solution?
Alex She<Wizdomtech - Analyst Programmer> Mon, 24 Sep 2001 18:20:24 -0700
- [JDEV] Non english message... Gang Liu
- Re: [JDEV] Non englis... Jens Alfke
- Re: [JDEV] Non englis... Alex She<Wizdomtech - Analyst Programmer>
- Re: Re: [JDEV] Non en... Gang Liu
- Re: Re: Re: [JDEV] No... Alex She<Wizdomtech - Analyst Programmer>
- Re: Re: Re: [JDEV] No... Gang Liu
- Re: Re: Re: [JDEV... Alex She<Wizdomtech - Analyst Programmer>
- Re: [JDEV] Non en... Jens Alfke
- Re: Re: Re: Re: [JDEV... Gang Liu
- Re: Re: Re: Re: [... Alex She<Wizdomtech - Analyst Programmer>
- Re: Re: Re: Re: Re: [... Gang Liu
- Re: Re: Re: Re: R... Alex She<Wizdomtech - Analyst Programmer>
- Re: [JDEV] Non englis... Jens Alfke
- Re: [JDEV] Non en... Peter Saint-Andre
