P
Peter Kleiweg
Is this a bug or a feature?
Python 2.4.4 (#1, Oct 19 2006, 11:55:22)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Python 2.4.4 (#1, Oct 19 2006, 11:55:22)
[GCC 2.95.3 20010315 (SuSE)] on linux2
[u'a', u'b', u'c', u'd', u'e']>>> a = 'a b c\240d e'
>>> a 'a b c\xa0d e'
>>> a.split() ['a', 'b', 'c\xa0d', 'e']
>>> a = a.decode('latin-1')
>>> a u'a b c\xa0d e'
>>> a.split()