I have this problem when trying to write a csv file :
from csv import writer
str1 = "idzie wąż wąską dróżką"
str2 = "мир и любовь"
csv_file = open("myFile.csv", "a", newline="", encoding="utf-8")
writer_Obj = writer(csv_file, delimiter=';')
writer_Obj.writerow([str1, str2])
Here is the result in the file :
idzie wąż wąską dróżką
мир и любовь