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

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

bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries?


From: Kenichi Handa
Subject: bug#9653: 24.0.50; `ucs-names' - Why all of the ("" . XXX) entries?
Date: Mon, 03 Oct 2011 13:23:59 +0900

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

> Handa-san, could you take a look at this?  Is (get-char-code-property
> c 'name) supposed to return "" when the char has no name or is it
> supposed to return nil?  Either way is fine by me (all those "" are
> really one and the same string, so they don't waste memory).

It returns "" in such a case in Emacs 24.  Emacs 23 returned
nil but that behavior was fixed because Unicode Standard
Annex #44 (Unicode Character Database) says as below:

4.2.8 Default Values
[...]
    * For miscellaneous properties which take strings as
      values, such as the Unicode Name property, the default
      value is a null string.
               ^^^^^^^^^^^^^
---
Kenichi Handa
address@hidden






reply via email to

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