PyMSNt rocks!
Now I can send Chinese message from official MSN client/ Miranda MSN
plugin to Jabber
But when I send Chinese from jabber client to MSN client (both
official and Miranda), i got an exception:
File "/usr/local/lib/python2.3/site-packages/twisted/xish/domish.py",
line 630, in _onEndElement
self.ElementEvent(self.currElem)
File "/usr/lib/python2.3/site-packages/twisted/protocols/xmlstream.py",
line 179, in onElement
File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py",
line 139, in dispatch
File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py",
line 50, in callback
File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py",
line 34, in __call__
File "main.py", line 106, in onMessage
body = str(child)
exceptions.UnicodeEncodeError: 'ascii' codec can't encode characters
in position 0-2: ordinal not in range(128)
I've already patch the twisted domish.py using the patch on your web
site. When using PyMSNt 0.5 and without patching domish.py, there is
no exception but the message is in wrong encoding.
On Sat, 4 Sep 2004 11:36:43 +1000, James Bunton <[EMAIL PROTECTED]> wrote:
> 2004-09-04 - PyMSNt 0.6 released
>
> Go to http://msn-transport.jabberstudio.org to download it.
> Happy testing!
>
> --
>
> James
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> https://jabberstudio.org/mailman/listinfo/jdev
>
--
simple is good
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev