Amaury Forgeot d'Arc <[email protected]> added the comment:

Testing with python 2.5: oDoc.set("ATTR", "ÄÖÜ") uses the encoding used by the 
source code (with "# -*- coding:";) If I use utf-8 instead, the output is:
   <ROOT ATTR="&#195;&#132;&#195;&#150;&#195;&#156;" />
which contains the numbers of the 3 pairs of surrogates.

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9692>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to