Steven D'Aprano added the comment:
You can learn more about unicode and encodings:
https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/
https://pyvideo.org/pycon-us-2012/pragmatic-
Eryk Sun added the comment:
The default encoding for files in Windows is the process active code page,
which defaults to the system code page, e.g. code page 1252 if the system
locale is "en-IN". You need to explicitly use a Unicode encoding such as UTF-8
when opening the file, e.g. open('so
New submission from Md Tausif Iqbal :
my application crashes
File "c:\users\tausif\appdata\local\programs\python\python38-32\lib\csv.py",
line 154, in writerow
return self.writer.writerow(self._dict_to_list(rowdict))
File
"c:\users\tausif\appdata\local\programs\python\python38-32\lib\e