STINNER Victor added the comment: > I has a file "gbk-utf-8.py" and it's encoding is GBK.
I don't understand why you use "# coding: utf-8" if the file is encoded to GBK. Why not using "# coding: gbk"? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25937> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com