A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-October/056937.html below:

[Python-Dev] unifying str and unicode

[Python-Dev] unifying str and unicode [Python-Dev] unifying str and unicodeFredrik Lundh fredrik at pythonware.com
Mon Oct 3 20:37:55 CEST 2005
Antoine Pitrou wrote:

> > Under the default encoding (and quite a few other encodings), that's true for
> > plain ascii strings and Unicode strings.
>
> If I have an unicode string containing legal characters greater than
> 0x7F, and I pass it to a function which converts it to str, the
> conversion fails.

so?  if it does that, it's not unicode safe.  what's that has to do with
my argument (which is that you can safely mix ascii strings and unicode
strings, because that's how things were designed).

> Here is an example so that you really understand.

I wrote the unicode type.  I do understand how it works.

</F>



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