From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Decode the octets with hexadecimal values.
Date: Sat, 20 May 2023 21:47:30 +0800 [thread overview]
Message-ID: <CAGP6POJDND7+MOG6kimMN71p5A6_eCwTDG1bT4X3FucinN5tyA@mail.gmail.com> (raw)
In-Reply-To: <83ilcnrxg2.fsf@gnu.org>
On Sat, May 20, 2023 at 8:37 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > Date: Sat, 20 May 2023 19:01:29 +0800
> > Cc: help-gnu-emacs@gnu.org
> >
> > But by comparing the results of Python and Emacs, we can see that
> > there are three redundant underscores in the latter, as shown in the
> > attached screenshot. Any tips for this behavior?
>
> It's not an underscore, it's the NBSP character, I think?
Yes, you're right, as shown below:
M-x describe-char RET
position: 152 of 260 (58%), column: 13
character: (displayed as ) (codepoint 160, #o240, #xa0)
charset: unicode (Unicode (ISO10646))
code point in charset: 0xA0
script: latin
syntax: which means: whitespace
category: .:Base, b:Arabic, j:Japanese, l:Latin
to input: type "C-x 8 RET a0" or "C-x 8 RET NO-BREAK SPACE"
buffer code: #xC2 #xA0
file code: #xC2 #xA0 (encoded by coding system utf-8-unix)
display: by this font (glyph code):
ftcrhb:-PfEd-DejaVuSansMono Nerd Font
Mono-regular-normal-normal-*-20-*-*-*-m-0-iso10646-1 (#x62)
hardcoded face: nobreak-space
Character code properties: customize what to show
name: NO-BREAK SPACE
old-name: NON-BREAKING SPACE
general-category: Zs (Separator, Space)
decomposition: (noBreak 32) (noBreak ' ')
There are text properties here:
fontified nil
wrap-prefix " "
Best,
Zhao
prev parent reply other threads:[~2023-05-20 13:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-20 6:55 Decode the octets with hexadecimal values Hongyi Zhao
2023-05-20 7:04 ` Platon Pronko
2023-05-20 7:37 ` Hongyi Zhao
2023-05-20 8:18 ` Eli Zaretskii
2023-05-20 8:51 ` Hongyi Zhao
2023-05-20 9:44 ` Eli Zaretskii
2023-05-20 10:53 ` Hongyi Zhao
2023-05-20 11:01 ` Hongyi Zhao
2023-05-20 12:37 ` Eli Zaretskii
2023-05-20 13:47 ` Hongyi Zhao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGP6POJDND7+MOG6kimMN71p5A6_eCwTDG1bT4X3FucinN5tyA@mail.gmail.com \
--to=hongyi.zhao@gmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.