[issue4075] Use WCHAR variant of OutputDebugString

Martin v. Löwis report at bugs.python.org
Sun Oct 12 19:40:57 CEST 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

> If the python switch to W functions then the issue will be resolved.

Python should use the *W functions wherever possible.

> Without general switch to W functions and to wide strings we need to
> convert every time from single chat to wide char. Is this acceptable in
> general ?

Most certainly. If we call the *A function instead, it will convert to
*W itself, so it's no loss if we do it right away (and we may save a
copy in some cases).

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


More information about the Python-bugs-list mailing list