Trouble Encoding

fingermark at fingermark at
Tue Jun 7 12:02:19 CEST 2005

I'm using feedparser to parse the following:

<div class="indent text">Adv: Termite Inspections! Jenny Moyer welcomes
you to her TM A "MUST See &hellip;</div>

I'm receiveing the following error when i try to print the feedparser
parsing of the above text:

UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201c' in
position 86: ordinal not in range(256)

Why is this happening and where does the problem lie?


More information about the Python-list mailing list