[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hexadecimal unicode input ?
From: |
Oliver Scholz |
Subject: |
Re: hexadecimal unicode input ? |
Date: |
Wed, 08 Oct 2003 10:58:42 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt) |
Thomas Langen <langen@langensoft.de> writes:
> Eli Zaretskii wrote:
>>>From: Thomas Langen <langen@langensoft.de>
>>>Newsgroups: gnu.emacs.help
>>>Date: Tue, 07 Oct 2003 19:49:28 +0200
>>>
>>> AFAIK the function insert-ucs-character allows only decimal numbers
>>> as argument for unicode characters.
>> Really? Did you try to say #x1234, for example?
>>
>
> Thank you, that's the solution I was looking for - is it documented
> anywhere? (I had tried 0x1234, 1234h, and some other combinations I
> could imagine - they all didn't work.)
>
> Maybe some extended help on the mule-ucs function
> "insert-ucs-character" would be useful.
This is not a feature of any specific function. It is a feature of the
Lisp reader. You can use hexadezimal, octal or binary notation
anywhere in Emacs Lisp code:
(print 4660)
(print #x1234)
(print #o11064)
(print #b1001000110100)
Oliver
--
17 Vendémiaire an 212 de la Révolution
Liberté, Egalité, Fraternité!