[Python-Dev] Re: \ud800 crashes interpreter (PR#384)

Fredrik Lundh fredrik@pythonware.com
Wed, 5 Jul 2000 14:19:27 +0200


mal wrote:
> Ideal would be another API for win32 which allows querying
> the active language (it would have to return an RFC 1766
> language code or we could add aliasis to the locale_alias
> database).

A quick look indicates that Windows uses "language identifiers":
http://msdn.microsoft.com/library/psdk/winbase/nls_8xo3.htm

Maybe Bill can dig up some better way to do this (a "language
identifier to language code" table would be nice. There's one
in Windows 2000 ;-)

</F>