[Python-3000] Help on text editors

David Hopwood david.nospam.hopwood at blueyonder.co.uk
Fri Sep 8 04:03:55 CEST 2006


Paul Prescod wrote:
> Guido has asked me to do some research in aid of a file encoding
> detection/defaulting PEP.
> 
> I only have access to a small number of operating systems and language
> variants so I need help.
> 
> If you have access to "German Windows XP", "Japanese Windows XP",

Since Win2K there is actually no such thing, from a technical point of view --
just Win2K or WinXP with a German or Japanese "language group" installed,
and a corresponding locale selected as the interface locale for a given user
account. The links below should make this clearer.

> "Spanish OS X",  "Japanese OS X", "German Ubuntu" etc., I would appreciate
> answers to the following questions.
> 
> 1. On US English Windows, Notepad defaults to an encoding called "ANSI".
> "ANSI" is not a real encoding at all (and certainly not one from the
> American National Standards Institute -- they should sue!). ANSI is just
> the default Windows character set for your localization set. What does
> "ANSI" map to in European and Asian versions of Windows?

See <http://www.microsoft.com/globaldev/DrIntl/faqs/Locales.mspx>,
<http://www.microsoft.com/globaldev/reference/WinCP.mspx>, and
<http://www.microsoft.com/globaldev/reference/win2k/setup/localsupport.mspx>.

Each "language group" maps to a similarly named "ANSI" code page (and also
an "OEM" code page) in the obvious way.

-- 
David Hopwood <david.nospam.hopwood at blueyonder.co.uk>




More information about the Python-3000 mailing list