A bug for unicode strings in Python 2.4?

Neil Hodgson nyamatongwe+thunder at gmail.com
Tue Jan 10 23:44:56 EST 2006


Thomas Moore:

>>>>u=u'\u9019\u662f\u4e2d\u6587\u5b57\u4e32'
>>>>u.split()
> 
> [u'\u9019\u662f\u4e2d\u6587\u5b57\u4e32']
> 
> 
> I think u should get split.

    Where do you think "這是中文字串" should be split and why?

    Neil



More information about the Python-list mailing list