Rama Vadakattu wrote:
While doing the below
1) fetch html page
2) extract title using BeatifulSoup
3) Save into the database.
iam getting the below error (at the bottom).
Few observations which i had:
1) type of variable which holds this title is <class
'BeautifulSoup.NavigableString'>
2) iam getting this problem when the title has character whose
ordinal value > 128
I searched in google and tried various suggestions but none of them is
working.And also i couldnot able to understand the rootcause for such
a kind of behaviour.
What's the title of the feed. I guess it contains non-ASCII character.
Try encoding the title with a proper encoding that can handle the
title's character set (utf-8 is a good choice), then save it again to
the database.
--
http://mail.python.org/mailman/listinfo/python-list