playing with pyGoogle - strange codec error
Richard Brodie
R.Brodie at rl.ac.uk
Tue Apr 5 08:32:12 EDT 2005
"Brian Blazer" <brian at brianandkate.com> wrote in message
news:2005040410062316807%brian at brianandkatecom...
> Everything works fine until I get to r.snippet. Here is the error:
>
> UnicodeEncodeError: 'ascii' codec can't encode character '\ua9' in
> position 119: ordinal not in range(128)
You have a character there (the copyright sign) that isn't in the ASCII
set. If you have anything other than plain ASCII, you need to consider
encoding. This reference might help:
http://diveintopython.org/xml_processing/unicode.html
More information about the Python-list
mailing list