[issue10187] exec encode unicode to utf-8 str automatically in GBK environment

wjm251 report at bugs.python.org
Sun Oct 24 09:01:55 CEST 2010


wjm251 <wjm251 at gmail.com> added the comment:

oh,you mentioned the PEP 263
but I already set a header like this,you can see the attached test.py
#coding=GBK

why exec choose to use utf-8 not GBK?
GBK is a valid Chinese character  set in python26

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10187>
_______________________________________


More information about the Python-bugs-list mailing list