Unicode error: ASCII encoding error. Ordinal not in range(128) ???

Martin v. Löwis martin at v.loewis.de
Tue Jan 7 21:26:36 CET 2003

"Thomas Weholt" <2002 at weholt.org> writes:

> I'm working with RSS/RDF-feeds and get the above mentioned error. How can I
> detect and/or avoid this error, when parsing/working with strings??

Depends on what operation you perform. If you are going to write a
Unicode string to a byte-oriented storage, you need to encode it
before writing it.


More information about the Python-list mailing list