Hello,

I am playing around with pyGoogle and encountered an error that I have never seen, and I am unsure how to correct for it. Here is a code snippet:

for r in data.results:
   print 'Title: ',r.title
   print 'URL: ',r.URL
   print 'Summary: ',r.snippet
   print

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)

Any help is appreciated.

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


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to