[Python-Dev] Add a new "locale" codec?

Victor Stinner victor.stinner at haypocalc.com
Thu Feb 9 14:16:15 CET 2012


> As And pointed out, this is already the behaviour of the "mbcs" codec
> under Windows. "locale" would be the moral (*) equivalent of that under
> Unix.

On Windows, the ANSI code page codec will be accessible using 3
different names: "locale", "mbcs" and the real encoding name
(sys.getfilesystemencoding())!

Victor


More information about the Python-Dev mailing list