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

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

Re: Unicode -> string? Invalid code point! // Adding a menu item with un


From: David Kastrup
Subject: Re: Unicode -> string? Invalid code point! // Adding a menu item with unicode characters
Date: Mon, 18 Apr 2005 16:15:54 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

David Reitter <david.reitter@gmail.com> writes:

> How can I specify strings for a menu item that have unicode-range
> characters in them?
> To be concrete, I'd like to specify the 'command sign' character (to
> show a keyboard shortcut with the command key). The unicode ID of this
> character is 0x2318, and I assume I'll have to convert this to the
> internal multibyte representation first. But when I do
>
> (make-char 'mule-unicode-0100-24ff 8504)
>
> I just get an 'invalid code point' error.
> Is that the correct charset for the job?

Why not just (decode-char 'ucs #X2318) ?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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