[issue30195] writing non-ascii characters in xml file using python code embedded in C

mahboubi report at bugs.python.org
Tue May 16 09:14:27 EDT 2017


mahboubi added the comment:

problem solved, It's not related to embedding python in C, Ijust had to use mystring.decode('utf-8') instead of unicode(mystring,"utf-8")

----------
stage: test needed -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30195>
_______________________________________


More information about the Python-bugs-list mailing list