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/2001-June/015346.html below:

[Python-Dev] Adding .decode() method to Unicode

[Python-Dev] Adding .decode() method to Unicode [Python-Dev] Adding .decode() method to UnicodeM.-A. Lemburg mal@lemburg.com
Mon, 11 Jun 2001 18:50:11 +0200
I would like to add a .decode() method to Unicode objects
and also enable the builtin unicode() to accept Unicode
object as input.

The .decode() method will work just like the .encode() method
except that it interfaces to the decode API of the codec
in question.

While this may seem useless for the currently available encodings,
it does have some use for codecs which recode Unicode to Unicode,
e.g. codecs which do XML escaping or Unicode compression. 

Any objections ?

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/



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