[Tutor] character format

Max Noel maxnoel_fr at yahoo.fr
Thu May 12 03:03:35 CEST 2005


On May 12, 2005, at 01:50, jfouhy at paradise.net.nz wrote:

>>>> chr(130)
>>>>
> '\x82'
>
> If you look at http://asciitable.com/, you will see that ascii  
> chracter 130 is
> an e with a tick on its head.  This is not something you can find  
> on your
> keyboard, so python can't/won't display it.
>

     You mean é? Oh, it is perfectly printable. It's even on my  
keyboard (as unshifted 2), along with è, ç, à and ù. Ah, American  
cultural assumption... ^^


     Denise: If it is what I think it is, you may want to have a look  
at the first 2 characters of the string, which if I recall are  
printable, and should point you toward the module you have to use to  
solve that one.

-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting  
and sweating as you run through my corridors... How can you challenge  
a perfect, immortal machine?"



More information about the Tutor mailing list