import codecs
fp = codecs.open(fileName, "r", "utf-8")
fp.read()
fp = codecs.open(fileName, "r", "utf-8")
fp.read()
* http://evanjones.ca/python-utf8.html
* http://www.jorendorff.com/articles/unicode/python.html
* http://evanjones.ca/python-utf8.html
* http://www.jorendorff.com/articles/unicode/python.html
Comments 2
I think you meant
codecs.open
instead of codes.open
Thanks!
Posted 09 Oct 2009 at 3:18 pm ¶oooops… Thanks Tom!
Posted 22 Oct 2009 at 1:35 pm ¶Post a Comment
You could use <code type="name"> to get your code colorized