How can I get csv.writer.writerow
to output á or è and other special characters along the same lines u, n....etc?
I am getting an error UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 37: ordinal not in range(128)
Have tried some of the suggestions in this article with no avail
rowPrinter = []
while x < y:
print "Data in at Line " + str(x + 1)
rowPrinter.append([a[x], b[x], c[x]]])
x = x + 1
x = 0
writer = csv.writer(outcsv, delimiter=',', quotechar='|', quoting=csv.QUOTE_MINIMAL, lineterminator='\n')
writer.writerow(['a', 'b', 'c'])
while x < y:
print rowPrinter[x]
writer.writerow(rowPrinter[x])