[2.5.1] "UnicodeDecodeError: 'ascii' codec can't decode byte"?
Gilles Ganault
nospam at nospam.com
Wed Oct 29 05:29:57 EDT 2008
Hello
I'm getting this error while downloading and parsing web pages:
=====
title = m.group(1)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position
48: ordinal not in range(128)
=====
>From what I understand, it's because some strings are Unicode, and
hence contain characters that are illegal in ASCII.
Does someone know how to solve this error?
Thank you.
More information about the Python-list
mailing list