[issue13958] Comment _PyUnicode_FromId

STINNER Victor report at bugs.python.org
Mon Feb 6 23:13:12 CET 2012


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Using _Py_static_string(), you can write literal UTF-8 strings using hexadecimal escape sequences. It works on any C compiler. E.g. _Py_static_string(ecute, "\xc3\xa9").

----------

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


More information about the Python-bugs-list mailing list