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

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

Re: Convert the hexadecimal character code to the corresponding Unicode


From: Hongyi Zhao
Subject: Re: Convert the hexadecimal character code to the corresponding Unicode value.
Date: Sat, 2 Oct 2021 15:41:02 +0800

On Sat, Oct 2, 2021 at 2:20 PM Eduardo Ochs <eduardoochs@gmail.com> wrote:
>
> Hi Hongyi,
>
> does this help?
>
>                   (string-to-number "1D4E0" 16)
>   (char-to-string (string-to-number "1D4E0" 16))
>           (string (string-to-number "1D4E0" 16))
>      (format "%c" (string-to-number "1D4E0" 16))
>           (insert (string-to-number "1D4E0" 16))
>
> The entry for 1D4E0 in UnicodeData.txt is:
>
>   1D4E0;MATHEMATICAL BOLD SCRIPT CAPITAL Q;Lu;0;L;<font> 0051;;;;N;;;;;
>
> I have some hacks to display the characters around a certain
> entry in UnicodeData.txt here,
>
>   http://angg.twu.net/.emacs.html#find-echars-around
>   (find-wgeta-elisp "http://angg.twu.net/.emacs"; "find-echars-around")

I tried the code snippet above, but it relies on another function
named as `ee-bol' which is not available there.

HZ



reply via email to

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