Windson Yang <wiwind...@gmail.com> added the comment:

If I understand your question correctly, you should save the file(the one 
contain Chinese chars) with GBK encoding using your editor. Otherwise, your 
editor would save it using the default encoding which led to python can't 
decode it correctly.

----------
nosy: +Windson Yang

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35140>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to