[JDEV] japanese characters in yahoo transport

Keith Minkler kminkler at jabber.com
Fri Jun 29 13:00:40 CDT 2001


martin,

    I've used the libyahoo library to communicate with Yahoo.. and I've
    asked the encoding questions to the maintainers.. unfortunatly.. they
    have no idea what sort of encoding the Yahoo messages are, when they
    come into the library.. and I am just doing a simple byte-algorithm
    to UTF-8 the messages.. (only affecting high numbered bytes) before
    sending the messages into Jabber.. 

    so.. Unfortunatly.. I'd be the one to answer your question, but I have
    no idea.. Eventually, Yahoo! should be supporting the IM Unified 
    Protocol (which they are a member of), which will allow us to communicate
    through a known method.. (as opposed to trying to figure the protocol out
    through hex dumps)

    You may get a better responce from the Libyahoo community.. they have
    an active mailing list run from libyahoo.sourceforge.net.. they may
    have discovered something since the last time I've queried them.

    Good Luck!

> My question is about the Yahoo transport. When it receives the native
> message from Yahoo it builds the XML message. How does it then deal with the
> bytes, which make up the message::body part?  Does it convert them into
> Unicode? Just sent the chat message bytes, as is which implies the XML
> message could have mixed encoding one for the xml file and one for the
> message:: body tag?

-------
Keith Minkler
Software Developer
Jabber.COM, Inc.
-------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010629/7e09e18a/attachment-0002.pgp>


More information about the JDev mailing list