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: Fri, 1 Oct 2021 21:00:56 +0800

On Fri, Oct 1, 2021 at 6:58 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > Date: Fri, 1 Oct 2021 18:27:16 +0800
> >
> > I noticed some comments on the escape syntax used by Emacs from here
> > [1-2]. By default, the `describe-char' command will give the code
> > point representation of the character in hexadecimal and octal
> > formats, say, #o240, #xa0. So, I want to if there is a convenient way
> > to do the conversion between the hexadecimal character code
> > representation and the corresponding Unicode value.
>
> What do you mean by "the corresponding Unicode value", and how is it
> different from the hexadecimal codepoint shown by describe-char?

Sorry for my inaccurate description. I mean the  "\uxxxx"  or
"\U00xxxxxx" counterpart of the code point represented by
decimal/hexadecimal/octal formats.

HZ



reply via email to

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