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/2006-February/061081.html below:

[Python-Dev] str object going in Py3K

[Python-Dev] str object going in Py3K [Python-Dev] str object going in Py3KGuido van Rossum guido at python.org
Thu Feb 16 00:15:48 CET 2006
On 2/15/06, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> I'm intrigued  by the encoding guessing techniques you envisage.

Don't hold your breath. *I* am not very interested in guessing
encodings -- I was just commenting on posts by others that mentioned
difficulties caused by this approach. My position is that the standard
library (with the exception of XML processing code perhaps) shouldn't
be *guessing* encodings but simply using the encoding specified by the
user (or the OS default) in the environment or some such place. (It is
OS dependent how to retrieve this information but my hypothesis is
that every OS with any kind of text support has a way to get this info
-- even if it's as rudimentary as "it's always ASCII" (v7 Unix :-) or
"it's always UTF-8" (I am hoping this will eventually be the answer in
the distant future).

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
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