saving cyrillic text files

DR ypoi at spray.se
Thu Aug 22 11:26:57 EDT 2002


file=open("rustext.txt", "w")
file.write("??????")
file.close

When I open the file with a text editor I get garbled text. I use
russian win98 so I don't see why this shouldn't work.



More information about the Python-list mailing list