So, I am trying to write some information into a csv file encoded in utf-8 but it is not letting me citing the following error:
ERROR:root:Error: There're some errors in the lambda funtion process - 'ascii' codec can't encode character '\xa1' in position 602: ordinal not in range(128)
the writer I am using in order to convert a list of values into data rows is:
writer = csv.writer(output, quoting=csv.QUOTE_NONNUMERIC)
I tried installing unicodecsv
and using it but it didn't play nice with some of the characters.
If I try to do a list comprehension for every row written by the writer usinfg the following function y end up with b's
in every entry in the csv which should not be since I really need it to be plaintext.