unicodedata name for \u000a
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Sat Aug 21 15:38:57 EDT 2004
On Sat, 21 Aug 2004 21:24:04 +0200, rumours say that Ken Beesley
<ken.beesley at xrce.xerox.com> might have written:
[snip]
>unicodedata.name(u"\u000a")
>
>I get
>
>Traceback (most recent call last):
> File "<stdin>", line 1, in ?
>ValueError: no such name
>
>There is, of course, a Unicode name for \u000a,
>which is 'LINE FEED' or perhaps 'LINE FEED (A)'.
>
>Is there a gap in unicodedata? or in my understanding?
It seems that all control characters (u"\u0000" to u"\u001f") have no
names in unicodedata. Don't know if this is an omission (ie bug) or
intentional.
--
TZOTZIOY, I speak England very best,
"Tssss!" --Brad Pitt as Achilles in unprecedented Ancient Greek
More information about the Python-list
mailing list