* Re: Unicode -> string? Invalid code point! // Adding a menu item with unicode characters
[not found] <mailman.1851.1113833166.2895.help-gnu-emacs@gnu.org>
@ 2005-04-18 14:15 ` David Kastrup
2005-04-18 18:58 ` Unicode -> string? Invalid code point! // Adding a menu itemwith " David Reitter
0 siblings, 1 reply; 2+ messages in thread
From: David Kastrup @ 2005-04-18 14:15 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unicode -> string? Invalid code point! // Adding a menu itemwith unicode characters
2005-04-18 14:15 ` Unicode -> string? Invalid code point! // Adding a menu item with unicode characters David Kastrup
@ 2005-04-18 18:58 ` David Reitter
0 siblings, 0 replies; 2+ messages in thread
From: David Reitter @ 2005-04-18 18:58 UTC (permalink / raw)
David Kastrup <dak <at> gnu.org> writes:
> > Why not just (decode-char 'ucs #X2318) ?
>
Why not? It works!
Danke!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-18 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1851.1113833166.2895.help-gnu-emacs@gnu.org>
2005-04-18 14:15 ` Unicode -> string? Invalid code point! // Adding a menu item with unicode characters David Kastrup
2005-04-18 18:58 ` Unicode -> string? Invalid code point! // Adding a menu itemwith " David Reitter
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).