Frank Potter wrote: > But it seems that python can't directly write unicode to a file,
You need to use the method open from module codecs: >>> import codecs >>> a = codecs.open("pru_uni.txt", "w", "utf-8") >>> txt = unicode("campeón\n", "utf-8") >>> a.write(txt) >>> a.close() >>> So, then, from command line: [EMAIL PROTECTED]:~$ file pru_uni.txt pru_uni.txt: UTF-8 Unicode text :) Regards, -- . Facundo . Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ -- http://mail.python.org/mailman/listinfo/python-list