Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

"mbcs" is not a fixed encoding and may change between Windows sessions, see the 
Rationale in PEP277 http://www.python.org/dev/peps/pep-0277/

The mixed case is interesting. We could use CreateProcessW when at least one 
string is Unicode, and CreateProcessA when all strings are bytes.
OTOH this is unlikely, because for example the environment will be passed as 
unicode; so I'm OK to use CreateProcessW in all cases, and use mbcs to convert 
bytes.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8393>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to