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

wjm251 report at bugs.python.org
Sun Oct 24 05:04:46 CEST 2010


New submission from wjm251 <wjm251 at gmail.com>:

windows Xp chinese version

see the attached file, the header was set to GBK,and the file is GBK encoded, but why the output was '\xe5\xa4\xa7'(it is utf-8 encoded of Chinese character "大")

----------
components: Library (Lib)
files: test.py
messages: 119482
nosy: wjm251
priority: normal
severity: normal
status: open
title: exec encode unicode to utf-8 str automatically in GBK environment
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file19349/test.py

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


More information about the New-bugs-announce mailing list