[Python-Dev] GSoC: Replace MS Windows Console with Unicode UI

"Martin v. Löwis" martin at v.loewis.de
Thu Jul 23 05:36:03 CEST 2009


> When stdout is console and not redirected to [pipe|file],
> sys.stdout.write(u"foo")
> can avoid encoding and use WriteConsoleW(L"foo")

I think this would be fairly difficult to implement given
the way the output libraries work. If you think it can be
done, please provide a patch to bugs.python.org.

Regards,
Martin



More information about the Python-Dev mailing list