I am trying to create a text file in csv format out of a PyQt4 QTableWidget. I want to write the text with a UTF-8 encoding because it contains special characte
QTableWidget
Use this package, it just works: https://github.com/jdunck/python-unicodecsv.