I'm trying to decode the following: UKLTD� For into utf-8 (or anything really) but I cannot workout how to do it and keep getting errors like 'ascii' codec can't decode byte 0xa
Solution 1:
Thank you to @BartFriederichs.
Solution is : product_name = row[11].decode('iso-8859-1').encode('utf8')
Post a Comment for "Python Decode Unknown Character"