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

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


> With the difference that mbcs cannot change during execution.

It is possible to change the "thread ANSI code page" (CP_THREAD_ACP)
at runtime, but setting the system ANSI code page (CP_ACP) requires to
restart Windows.

> I don't even know if it is possible to change it at all, except by
> reinstalling Windows.

The system ANSI code page can be set in the regional dialog of the
control panel. If I remember correctly, it is badly called the
"language".

Victor


More information about the Python-Dev mailing list