playing with pyGoogle - strange codec error

Brian Blazer brian at brianandkate.com
Tue Apr 5 08:52:46 EDT 2005


On 2005-04-05 07:32:12 -0500, "Richard Brodie" <R.Brodie at rl.ac.uk> said:

> 
> "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

Thank you.  That is a great reference.

Brian

-- 
Nail a post to the Spalted Board. Free WW'ing software and forums.  
Regular freebies! http://www.spaltedboard.com




More information about the Python-list mailing list