[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Utf8 symbols in completing-read completion item
From: |
Eli Zaretskii |
Subject: |
Re: Utf8 symbols in completing-read completion item |
Date: |
Fri, 21 Oct 2022 09:18:18 +0300 |
> Date: Thu, 20 Oct 2022 22:00:31 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: Heime via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org>
> Nevertheless, my question is more focused on the best way to insert
> utf8 characters in COLLECTION. Is it acceptable to include utf8 characters
> in COLLECTION? From where does one copy the utf8 characters compatible with
> emacs?
To avoid confusion, please use the correct terminology. There's no
such thing as "utf8 characters"; UTF-8 is an _encoding_ used to
serialize Unicode character codepoints into a stream of bytes that can
then be written to a file or send via the network. IOW, UTF-8 is a
sequence of one or more bytes that represent a Unicode codepoint. The
correct terminology is "Unicode characters" or "non-ASCII characters"
(since you mean characters beyond the ASCII range). Unicode
character codepoints are 32-bit entities, whereas their UTF-8 encoding
can take between 1 and 4 bytes. Suggested reading:
https://en.wikipedia.org/wiki/UTF-8
Also, _all_ Unicode characters are compatible with Emacs.
Re: Utf8 symbols in completing-read completion item, Michael Heerdegen, 2022/10/20