Re: Python 1.6a2 Unicode bug (was Re: comparing strings and ints)

April 26, 2000
7:04 a.m.
Fredrik Lundh replied to himself in c.l.py:
I just read the last few posts of the powers-that-be-list on this subject (Thanks to Christian for pointing out the archives in c.l.py ;-), and I must say I completely agree with Fredrik. The current situation sucks. A string should always be a sequence of characters. A utf-8-encoded 8-bit string in Python is *not* a string, but a "ByteArray". An 8-bit string should never be assumed to be utf-8 because of that distinction. (The default encoding for the builtin unicode() function may be another story.) Just
9092
Age (days ago)
9092
Last active (days ago)
0 comments
1 participants
participants (1)
-
Just van Rossum