[Python-Dev] Support of UTF-16 and UTF-32 source encodings

Serhiy Storchaka storchaka at gmail.com
Sat Nov 14 18:21:54 EST 2015


On 15.11.15 00:56, Victor Stinner wrote:
> These encodings are rarely used. I don't think that any text editor use
> them. Editors use ascii, latin1, utf8 and... all locale encoding. But I
> don't know any OS using UTF-16 as a locale encoding. UTF-32 wastes disk
> space.

AFAIK the standard Windows editor Notepad uses UTF-16. And I often 
encountered Windows resource files in UTF-16. UTF-16 was more popular 
than UTF-8 on Windows some time. If this horse is dead I'll throw it away.




More information about the Python-Dev mailing list