Python strings outside the 128 range

Sébastien Boisgérault Sebastien.Boisgerault at gmail.com
Thu Jul 13 06:26:50 EDT 2006


Hi,

Could anyone explain me how the python string "é" is mapped to
the binary code "\xe9" in my python interpreter ?

"é" is not present in the 7-bit ASCII table that is the default
encoding, right ? So is the mapping "é" -> "\xe9" portable ?
(site-)configuration dependent ? Can anyone have something
different of "é" when 'print "\xe9"' is executed ? If the process
is config-dependent, what kind of config info is used ?

Regards,

SB




More information about the Python-list mailing list