utf-8 read/write file

Bruno Bruno at hi.t-com.hr
Wed Oct 8 19:49:12 CEST 2008


Hi!

I have big .txt file which i want to read, process and write to another .txt file.
I have done script for that, but im having problem with croatian characters 
(Š,Đ,Ž,Č,Ć).
How can I read/write from/to file in utf-8 encoding?
I read file with fileinput.input.

thanks



More information about the Python-list mailing list