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/2000-July/005844.html below:

[Python-Dev] Encodings

[Python-Dev] Encodings [Python-Dev] EncodingsGuido van Rossum guido@beopen.com
Sat, 08 Jul 2000 18:24:16 -0500
> > I never dreamed that you could actually find out the name of the
> > character set given the locale!
> 
> never underestimate the malbot.
> 
> (btw, this magic now works on windows too! ;-)
> 
> >>> import locale
> >>> print locale.getdefaultlocale()
> ('sv_SE', 'cp1252') 

That seems actually pretty useful for explicit conversions!

--Guido van Rossum (home page: http://dinsdale.python.org/~guido/)



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