I know that a similar question has been asked many times, but seriously, I could not correctly implement csv-writer, which writes correctly to csv (it shows garbage).
I am trying to use UnicodeWriter as a reference in white papers .
ff = open('a.csv', 'w') writer = UnicodeWriter(ff) st = unicode('Displaygrößen', 'utf-8') #gives (u'Displaygr\xf6\xdfen', 'utf-8') writer.writerow([st])
This does not give me any decoding or coding error. But he writes the word Displaygrößen
as Displaygrößen
, which is not very good. Can someone help me what I'm doing wrong here?
source share