A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-November/142163.html below:

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

[Python-Dev] Support of UTF-16 and UTF-32 source encodings [Python-Dev] Support of UTF-16 and UTF-32 source encodingsGlenn Linderman v+python at g.nevcal.com
Sat Nov 14 18:39:32 EST 2015
On 11/14/2015 3:21 PM, Serhiy Storchaka wrote:
> 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.

Just use UTF-8, ignoring an optional leading BOM. If someone wants to 
use something else, they can write a "preprocessor" to convert it to 
UTF-8 for use by Python.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20151114/7f745ea8/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4