On Thu, 11 Apr 2013 00:13:46 -0700, nagia.retsina wrote: > Since now we k ow the problem maybe we can tell metrites.py to open > index.html using utf-8 encoding rather as binary, dont you think?
What makes you think it is UTF-8? Last time you tried decoding content as UTF-8, you got an error that it wasn't a legal UTF-8 file. Where does index.html come from? Whatever program generates that, you need to find out what encoding it is using. -- Steven -- http://mail.python.org/mailman/listinfo/python-list