From: Yuri T. <qar...@gm...> - 2009-02-26 18:40:48
|
Assuming your file is encoded as UTF8, you should open it with: f = codecs.open("test.txt", mode="r", encoding="utf8") > All this unicode stuff in python is really confusing. Yes, it is. - yuri -- http://spu.tnik.org/ |