[JDEV] Non english messages solution?

Alex She<Wizdomtech - Analyst Programmer> alexshe at wizdomtech.com
Mon Sep 24 20:38:02 CDT 2001


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: gang_l at 21cn.com  &  gang_l at hotmail.com
> >>   Phone: +86 13923425035   
> >>   ICQ: 70670666
> >>   Web: Coming ....
> >> 
> >> _______________________________________________
> >> jdev mailing list
> >> jdev at jabber.org
> >> http://mailman.jabber.org/listinfo/jdev
> >> 
> >
> >
> >-------------------------------------------------
> >This mail sent through IMP: mail.wizdomtech.com
> >_______________________________________________
> >jdev mailing list
> >jdev at jabber.org
> >http://mailman.jabber.org/listinfo/jdev
> 
> = = = = = = = = = = = = = = = = = = = =
> 			
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 


-------------------------------------------------
This mail sent through IMP: mail.wizdomtech.com



More information about the JDev mailing list