<[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

> Would that mean that the string "myString" is an ascii-string or what?

It would mean it was a byte encoded string already, yes. When you try to
encode it, Python tries to coerce it to Unicode and it's equivalent to:

myString.decode('ascii').encode('iso-8859-1','ignore')

That wouldn't explain why printing it gave errors though. 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to