New submission from wjm251 <wjm...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10187>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to