[Python-3000] PEP 3138- String representation in Python 3000

Bill Janssen janssen at parc.com
Sat May 24 20:47:55 CEST 2008


> Atsuo Ishimoto writes:
>> > Yes. My question is "Which do you feel comfortable, printing collect
> > glyphs or hex-escaped ASCII ?". I prefer printed glyphs for foreign
> > characters, but I had feeling that western people prefer hex-escaped
> > ASCII in general. But from responses I saw, perhaps this is not big
> > deal.
>> I think Americans, at least, tend to fear that non-ASCII will be
> interpreted as terminal control sequences or highlighted annoyingly in
> some way. Otherwise, they might grumble about the fact that what
> they're seeing isn't English, but it doesn't matter whether it's
> hex-escaped or kanji.

The nice thing about hex-escaped characters is that I can look up the
character code to find out what the character is. Hard to do that
with a glyph that I don't recognize.
Bill


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /