I have a Python scraper which scraper a web site and inserts a data into MySql db. All of a sudden I got an error of
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u20ac' in position 39: ordinal not in range(256) when I parsed the string which contains the sign of EURO -- €1.
I saw some articles describing how to solve this issue but didn't understand how to apply them to my issue. I just scrape the data using BeautifulSoup, I don't encode/decode it manually.
I use this module import MySQLdb to work with MySql.
So how do I get rid of this issue?