[Python-Dev] Strings: '\012' -> '\n'

Fredrik Lundh fredrik@pythonware.com
Tue, 16 Jan 2001 12:37:10 +0100


ping wrote:
> By the way, why do Unicode escapes appear in capitals?
> 
>     >>> u'\uface'
>     u'\uFACE'
> 
> (If someone tells me that there happens to be a picture of a face at
> that code point, i'll laugh.  Is there a cow at \uBEEF?)

iirc, 0xFACE and 0xBEEF are part of the CJK and
Hangul spaces.  not sure 0xFACE is assigned, but
0xBEEF glyph looks like a ribcage with four legs...

you'll find faces at 0x263A etc.

</F>