[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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
> decimal/hexadecimal/octal formats.
That's just the hexadecimal values you already see, just prefixed with
\u or \U00. No conversion needed.
Re: Convert the hexadecimal character code to the corresponding Unicode value., Eli Zaretskii, 2021/10/01
Re: Convert the hexadecimal character code to the corresponding Unicode value., Eduardo Ochs, 2021/10/02
- Re: Convert the hexadecimal character code to the corresponding Unicode value., Hongyi Zhao, 2021/10/02
- Re: Convert the hexadecimal character code to the corresponding Unicode value., Eduardo Ochs, 2021/10/02
- Re: Convert the hexadecimal character code to the corresponding Unicode value., Hongyi Zhao, 2021/10/02
- Re: Convert the hexadecimal character code to the corresponding Unicode value., Eduardo Ochs, 2021/10/02
- Re: Convert the hexadecimal character code to the corresponding Unicode value., Hongyi Zhao, 2021/10/03
- Re: Convert the hexadecimal character code to the corresponding Unicode value., Eduardo Ochs, 2021/10/03
- Re: Convert the hexadecimal character code to the corresponding Unicode value., Hongyi Zhao, 2021/10/03