> PEP 277 explicitly states that unicode strings should be passed to
> wide-character functions, whereas byte strings use "standard"
> functions. This is done in posixmodule.c, for example.
CreateProcessW takes a lot of arguments. Should we CreateProcessA or CreateProcessW if some arguments are byte string and other are unicode string?
> The "current locale" is a moving thing.
Don't CreateProcessA do the same thing? Convert byte string to unicode using the current locale. To use the right words, by "current locale" I mean the "mbcs" Windows codec. |