help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Different names for Unicode codepoint


From: Lele Gaifax
Subject: Different names for Unicode codepoint
Date: Thu, 21 Apr 2016 21:04:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux)

Hi,

is there a particular reason for the slightly different names that Emacs
(version 25.0.92) and Python (version 3.6.0a0) give to a single Unicode entity?

Just to mention one codepoint, ⋖ is called "LESS THAN WITH DOT" accordingly to
Emacs' C-x 8 RET TAB menu, while in Python:

    >>> import unicodedata
    >>> unicodedata.name('⋖')
    'LESS-THAN WITH DOT'
    >>> print("\N{LESS THAN WITH DOT}")
      File "<stdin>", line 1
    SyntaxError: (unicode error) ...: unknown Unicode character name

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]