Jython: Upper-ASCII characters '\351' from chr(233)

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Apr 20 18:34:40 EDT 2001


Fri, 20 Apr 2001 20:32:23 +0100, Maurice Bauhahn <bauhahnm at clara.net> pisze:

> >>>chr(233)
> '\351'
> Any suggestions on how to get around this?

This is correct. '\351' means a character whose octal value is 0351,
i.e. 233. Note that Python 2.1 will display it in hex as '\xe9' but
it's still the same character.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list