This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aimad
Recipients aimad, benjamin.peterson, ezio.melotti, lemburg, vstinner
Date 2017-04-28.10:14:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493374492.88.0.89710812833.issue30195@psf.upfronthosting.co.za>
In-reply-to
Content
my python code embedded in C program, uses etree from lxml to write a plain string as element attribute in xml file. the problem is when my string contains non english characters(non ascii), the program fails to write even with unicode conversion such as unicode(mystring, "utf-8"), but when I use python code only, it works.
History
Date User Action Args
2017-04-28 10:14:52aimadsetrecipients: + aimad, lemburg, vstinner, benjamin.peterson, ezio.melotti
2017-04-28 10:14:52aimadsetmessageid: <1493374492.88.0.89710812833.issue30195@psf.upfronthosting.co.za>
2017-04-28 10:14:52aimadlinkissue30195 messages
2017-04-28 10:14:52aimadcreate