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

## Re: Convert the hexadecimal character code to the corresponding Unicode

 From: Eli Zaretskii Subject: Re: Convert the hexadecimal character code to the corresponding Unicode value. Date: Fri, 01 Oct 2021 16:15:00 +0300

```> From: Hongyi Zhao <hongyi.zhao@gmail.com>
> Date: Fri, 1 Oct 2021 21:00:56 +0800
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
>
> > > 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