I have captured a large amount of data from numerous CSV files. Certain information has been carved out. One section I have carved out is a section that has a large amount of various text formats. Some of these are emotions and other non standard text.
When outputting this data into a HTML format I have had errors. Currently I have the following error:
UnicodeDecodeError: 'charmap' codec can't decode byte 0X90 in Position: character maps to <undefined>.
The program currently stores information into an Array from a String. The Array is then written to a HTML file.
Any idea how to overcome this issue in Python 3.2 or how to implement a Character buffer?
UPDATE
I have tried the comments below and also done more research.
I have used this code to no avail:
MessageArray.append(Message.encode('ascii', 'ignore'))
But I got the error: TypeError: Cant convert 'bytes' object to str implicitly.