printing non-ASCII characters - please explain
Helmut Jarausch
jarausch at skynet.be
Sun Jun 15 07:49:24 EDT 2003
Hi,
please explain the following difference to me (with cvs-python)
N='H\xf6fig'
print N
this prints Höfig which contains the Germain umlaut 'ö' = oe = \xf6
but
print [N]
prints
['H\xf6fig']
why - and how can I change this?
Many thanks for a hint,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
More information about the Python-list
mailing list