A bug for unicode strings in Python 2.4?

Thomas Moore jsfrank.chen at msa.hinet.net
Tue Jan 10 22:49:00 EST 2006


Hi:

Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> u=u'\u9019\u662f\u4e2d\u6587\u5b57\u4e32'
>>> u.split()
[u'\u9019\u662f\u4e2d\u6587\u5b57\u4e32']
>>>

I think u should get split.

--Frank





More information about the Python-list mailing list