I open a .csv file and I write another .csv file in output. I specified encoding='utf-8' for both files. When I read the input file, in a dictionary, I have an accented character (ì) which I can see in the variables I use, but "ì" becomes "ì" when I write it in the output file.
I create the output line by concatenating some variables, like this: output_line = [name, address, citizenship_flag]
citizenship_flag may be "sì" or "no". In the output file it becomes "ì".
Where am I wrong? Thanks.