' in
position 280: character maps to undefined
--
components: Interpreter Core
messages: 82120
nosy: grace
severity: normal
status: open
title: Error printing UTF-8 decoded text
type: crash
versions: Python 3.1
___
Python tracker rep...@bugs.python.org
Lovely Grace lovelygrac...@hotmail.com added the comment:
Sorry guys, my goof:
http://wiki.python.org/moin/PrintFails
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5263
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5263
___
I am new to unicode so please bear with my stupidity.
I am doing the following in a Python IDE called Wing with Python 23.
s = äöü
print s
äöü
print s
äöü
s
'\xc3\xa4\xc3\xb6\xc3\xbc'
s.decode('utf-8')
u'\xe4\xf6\xfc'
u = s.decode('utf-8')
u
u'\xe4\xf6\xfc'
print u.encode('utf-8')
[EMAIL PROTECTED] wrote:
I am new to unicode so please bear with my stupidity.
I am doing the following in a Python IDE called Wing with Python 23.
s = äöü
From later evidence, this string is encoded as utf-8. Looks like Wing
must be using an implicit # coding: utf-8 for interactive input