[Python-Dev] Adding .decode() method to Unicode
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
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 ?
CEO eGenix.com Software GmbH
Company & Consulting: http://www.egenix.com/
Python Software: http://www.lemburg.com/python/