unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Different names for Unicode codepoint
@ 2016-04-21 19:04 Lele Gaifax
  2016-04-21 19:40 ` Eli Zaretskii
  2016-04-21 19:40 ` tomas
  0 siblings, 2 replies; 4+ messages in thread
From: Lele Gaifax @ 2016-04-21 19:04 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: python-list

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-21 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-21 19:04 Different names for Unicode codepoint Lele Gaifax
2016-04-21 19:40 ` Eli Zaretskii
2016-04-21 19:56   ` Lele Gaifax
2016-04-21 19:40 ` tomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).