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/2002-January/019366.html below:

[Python-Dev] unicode/string asymmetries

[Python-Dev] unicode/string asymmetries [Python-Dev] unicode/string asymmetriesMartin v. Loewis martin@v.loewis.de
Thu, 10 Jan 2002 21:27:46 +0100
> windows "ansi" is an alias for the encoding you get from
> 
>     import locale
>     language, encoding = locale.getdefaultlocale()
> 
> for people in western europe/north america

Isn't that also known as "mbcs" in Python? And it is different from
"oem", which is not exposed to Python, right?

> "cp1252", which is a microsoft version of latin-1:
> 
>     http://www.microsoft.com/typography/unicode/1252.htm
> 
> (characters 0x80-0x9f isn't part of iso-8859-1, aka latin-1)

Strictly speaking, the characters 0x80-0x9f *are* assigned in latin-1,
to control characters - so these assignments differ in CP 1252.

Regards,
Martin



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