[JDEV] UTF8 problem in jabbercom
Peter Millard
me at pgmillard.com
Tue Jun 19 10:31:48 CDT 2001
Alan -
After some discussions with other developers, my old UTF8 conversion routine
was only handling part of the entire UTF "space"... The new routines should
be handling the entire UTF space conversion properly... email me directly
(or jabber me at pgmillard at jabber.org, which is better) and we can chat
about this more in depth.
Peter Millard
----- Original Message -----
From: "Alan.tan" <Alan.Tan at china.com>
To: <jdev at jabber.org>
Sent: Tuesday, June 19, 2001 10:27 AM
Subject: [JDEV] UTF8 problem in jabbercom
> I'm develping a jabber client with jabbercom. Everything went well till I
download the latest jabbercom source code from CVS several days ago. All
the double-byte characters( Simplified Chinese) are changed unrecognizable.
After looking into the source code, I found the UTF8 encoding/decoding
function rewriten. The original FUNCTION is StrToUTF8, and now that's
WideStringToUTF8 .The problem is that their encoded string are not same:(
> I'm developing a oracle XDB module to connect to my company's database
also. Because the information stored in database are not UTF8 encoded, I've
transferd UTF8 encoding/decoding function into C in my program, so it can't
work correctly now.
> Could anyone give me some suggestion about this? It's obvious that the old
and new version can't be both correct...
> Thanks in advance!
>
>
> Regards
>
> Alan.Tan
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list