How to display special character in csv file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to display special character in csv file?

I'm using python 2.7 to write and read a csv file with the special character

12th Jul 2020, 5:54 PM
Mohamed Mbarek
1 Answer
+ 1
You can in general write to a csv file whatever you want in which encoding you want. There are not really any limitations. Quotations might be useful when you are working with special characters and any encoding, which might cause trouble for the client to interprete. The correct encoding has to be selected by the client, who / which is using that csv file later.
13th Jul 2020, 3:10 PM
Sandra Meyer
Sandra Meyer - avatar