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-May/003923.html below:

[Python-Dev] Unicode debate

[Python-Dev] Unicode debate [Python-Dev] Unicode debateFredrik Lundh Fredrik Lundh" <effbot@telia.com
Wed, 3 May 2000 09:56:25 +0200
Guido van Rossum <guido@python.org> wrote:
> > What do we do about str( my_unicode_string )? Perhaps escape the =
Unicode
> > characters with backslashed numbers?
>=20
> Hm, good question.  Tcl displays unknown characters as \x or \u
> escapes.  I think this may make more sense than raising an error.

but that's on the display side of things, right?  similar to
repr, in other words.

> But there must be a way to turn on Unicode-awareness on e.g. stdout
> and then printing a Unicode object should not use str() (as it
> currently does).

to throw some extra gasoline on this, how about allowing
str() to return unicode strings?

(extra questions: how about renaming "unicode" to "string",
and getting rid of "unichr"?)

count to ten before replying, please.

</F>




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