as3:~/ngokevin-site# nano content/blog/20140114_test-chinese.mkd as3:~/ngokevin-site# wok Traceback (most recent call last): File \"/usr/local/bin/wok\", line 4, in
I had the same problem but it didn't work for Python 3. I followed this and it solved my problem:
enc = sys.getdefaultencoding() file = open(menu, "r", encoding = enc)
You have to set the encoding when you are reading/writing the file.