[issue12572] HP/UX compiler workarounds

Jim Schneider report at bugs.python.org
Fri Jul 15 18:16:15 CEST 2011


Jim Schneider <jim.schneider at dataflux.com> added the comment:

>From issue 12561 (which I will be closing):

Author: STINNER Victor (haypo) *  Date: 2011-07-15 15:36  
Use >L"" CONSTANT< to decode a byte string to a character string doesn't work with non-ASCII strings. _Py_char2wchar() should be used instead: see for example this fix, commit 5b6e13b6b473. 

This is in reference to getpath.patch.  I have no need to support internationalized versions of the constant strings my patch addresses, so Stinner's commit is overkill for me.

----------

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


More information about the Python-bugs-list mailing list