From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Utf8 symbols in completing-read completion item Date: Fri, 21 Oct 2022 09:18:18 +0300 Message-ID: <83ilkdwvh1.fsf@gnu.org> References: <4XGLmAim4LQQWmpRmruCHvvQL6Z730ZyKbhyj6ROLA-mtnhQmokks9280IQ8NvoaVxm45A1DTFmonH6LMsz44gWWRiBC4CoBXXI3Ve0VRQQ=@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19159"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 21 08:22:50 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ollQf-0004me-VC for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 08:22:50 +0200 Original-Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ollQe-00023x-IF for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 02:22:48 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ollMi-0006ZO-IB for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 02:18:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ollMR-0006Rw-2O for help-gnu-emacs@gnu.org; Fri, 21 Oct 2022 02:18:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ollMQ-0004Qy-5K for help-gnu-emacs@gnu.org; Fri, 21 Oct 2022 02:18:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=I6gVprANLEzfnbddJyQNjFkPwdTrDiZNSTLT9TqyibE=; b=ICD0h0zehjnY RDTl16ZdEAzroVm4IAAOroSi8UF24k4+R5sx6QnX0GCh03+CEQ/QBgpUSot1z+TSR1eAN18GDP28m 1hQhssDkhr4hKRuHIzJJOzHUOuVeqYR3ZN9uwlXlMKiIRTkUKvtMC0U6Ahgta5vZtEHj3QI0EjFiC c5Tbg6ra3wh+n/n1wHBKdsf2xIpx1tQ3f8b+944PdTeeaLm2ssX4yPE51nTsBINEzJQ2UO6RyG9A+ ICU709EhYTifrxwjFmzMq8HrOcs/gcZVoh6wXtr/xLmgRjIzhkvVEbnCAL4zxkGPEH+61ycicsJDT w8I5W8SK91qSV2zTS4zRgw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ollMM-00064I-6d for help-gnu-emacs@gnu.org; Fri, 21 Oct 2022 02:18:25 -0400 In-Reply-To: <4XGLmAim4LQQWmpRmruCHvvQL6Z730ZyKbhyj6ROLA-mtnhQmokks9280IQ8NvoaVxm45A1DTFmonH6LMsz44gWWRiBC4CoBXXI3Ve0VRQQ=@protonmail.com> (message from Heime on Thu, 20 Oct 2022 22:00:31 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:140230 Archived-At: > Date: Thu, 20 Oct 2022 22:00:31 +0000 > From: Heime > Cc: Heime via Users list for the GNU Emacs text editor > 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.