Unicode error: ASCII encoding error. Ordinal not in range(128) ???
Martin v. Löwis
martin at v.loewis.de
Tue Jan 7 15:26:36 EST 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.
Regards,
Martin
More information about the Python-list
mailing list