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/2008-July/081591.html below:

[Python-Dev] urllib.quote and unquote - Unicode issues

[Python-Dev] urllib.quote and unquote - Unicode issues [Python-Dev] urllib.quote and unquote - Unicode issuesGuido van Rossum guido at python.org
Wed Jul 30 18:27:02 CEST 2008
On Wed, Jul 30, 2008 at 8:09 AM, André Malo <nd at perlig.de> wrote:
> I'm actually in favour of encoding bytes only back and forth. A useful
> extension would be *another* function which wraps quote/unquote and encodes
> and decodes characters.

I'd reverse this. By all means, add a new pair of functions that is
bytes in / bytes out. But keep the existing functions purely string in
/ string out, hardcoded to UTF-8. People wanting another encoding can
use the bytes functions and explicit encode / decode calls.

-- 
--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