[Python-Dev] Allowing u.encode() to return non-strings

M.-A. Lemburg mal at egenix.com
Fri Jun 25 04:34:17 EDT 2004

Martin v. Löwis wrote:
> M.-A. Lemburg wrote:
>>> -1. I find it unfortunate that there are encodings which
>>> don't convert between Unicode and byte strings; this direction
>>> should not be followed.
>>> Instead, text processing utilities should be proper libraries.
>> I don't understand... codecs are not limited to only text
>> processing. It's a completely independent framework from the
>> Unicode sub-system.
> I know this is viewed, and perhaps even documented, as a
> framework independent of Unicode. I think this is a mistake,
> and it should have been constrained to character encodings
> (i.e. conversions to and from Unicode, using character tables
> or similar algorithms) right from the beginning.

Ok, noted.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Jun 25 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
IL Workshop @ Net.ObjectDays 2004, Erfurt, Germany          93 days left

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::

More information about the Python-Dev mailing list