Hi,

i'm having problems when returning non-unicode strings which contains unicode 
characters (i have strings in utf-8 but they are not python unicode):

ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes 
or control characters

Everything works fine when i convert strings to unicode but i cannot do this 
with all strings, i don't consider nice and clear to convert all strings just 
before returning them (i have most of them from MySQL returned by module 
python-mysql). Is there any way how could rpclib convert this for me before 
lxml parsing ? Everything is in UTF-8 so it shouldn't be a problem. Thank you.

azur
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to