all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Utf8 symbols in completing-read completion item
Date: Fri, 21 Oct 2022 09:18:18 +0300	[thread overview]
Message-ID: <83ilkdwvh1.fsf@gnu.org> (raw)
In-Reply-To: <4XGLmAim4LQQWmpRmruCHvvQL6Z730ZyKbhyj6ROLA-mtnhQmokks9280IQ8NvoaVxm45A1DTFmonH6LMsz44gWWRiBC4CoBXXI3Ve0VRQQ=@protonmail.com> (message from Heime on Thu, 20 Oct 2022 22:00:31 +0000)

> 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.



  parent reply	other threads:[~2022-10-21  6:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 11:40 Utf8 symbols in completing-read completion item Heime via Users list for the GNU Emacs text editor
2022-10-20 21:02 ` Jean Louis
2022-10-20 22:00   ` Heime
2022-10-21  2:54     ` Jean Louis
2022-10-21  3:33       ` Heime
2022-10-21  3:43         ` Michael Heerdegen
2022-10-21  4:16           ` Heime
2022-10-21  6:18     ` Eli Zaretskii [this message]
2022-10-21  0:11 ` Michael Heerdegen

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=83ilkdwvh1.fsf@gnu.org \
    --to=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.