"env" parameter to "popen" won't accept Unicode on Windows - minor Unicode bug
Benjamin
musiccomposition at gmail.com
Mon Jan 14 22:26:20 EST 2008
On Jan 14, 6:26 pm, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n... at spamgourmet.com> wrote:
> John Nagle wrote:
> > It turns out that the strings in the "env" parameter have to be
> > ASCII, not Unicode, even though Windows fully supports Unicode in
> > CreateProcess.
>
> Are you sure it supports Unicode, not UTF8 or UTF16? Probably using
> something like u"thestring".encode("utf16") will help.
Otherwise: bugs.python.org
>
> Regards,
>
> Björn
>
> --
> BOFH excuse #31:
>
> cellular telephone interference
More information about the Python-list
mailing list