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: Unicode and text editors Date: Sun, 08 Dec 2024 22:43:21 +0200 Message-ID: <86r06hewie.fsf@gnu.org> References: <2427ab10a48abba2c811bcb01f4e74ce3832794f.camel@starynkevitch.net> <86frmyf83q.fsf@gnu.org> <861pyif205.fsf@gnu.org> <86wmgadmd8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32291"; 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 Sun Dec 08 21:44:07 2024 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 1tKO8L-0008De-8f for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Dec 2024 21:44:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKO7h-0001DG-Lf; Sun, 08 Dec 2024 15:43:25 -0500 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 1tKO7g-0001Cp-8d for help-gnu-emacs@gnu.org; Sun, 08 Dec 2024 15:43:24 -0500 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 1tKO7g-00027v-0R for help-gnu-emacs@gnu.org; Sun, 08 Dec 2024 15:43:24 -0500 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=kydHD3C317iBfqWuuXG5fhKThi8IJ8Msje1AhSM/YWI=; b=E4fbGwYz7iCt n77+8rZcCt9KotueYh2BVsBFU2PVEz67BQui8257kbEd52i8SSk46eiX4FYXiiUCSW7NI7C3PgwU+ zANvasSBCjWA4a4lyPpvSx8nOqiZxOcIATH8p1G0X48D/wJUCbtv12gjy9zsWMZ4fVQ/wYloPwVZy m4nMdX7n0nQJjF17tdTqRl+IyGIlkFx7kSJFeseqJBFQOcj0BACNlXJgPQ07oN5cLyEjU0/CTbBTZ v/RdPiookZW5bPjPS3iQeqVD64vOBwGwbNZYK2j/vF/DkoYt04BSUyYU5nTp17TGIxdVpVo8YB1sp 8Kwui3aF7lWtMjrEGWjq3A==; In-Reply-To: (message from Heime on Sun, 08 Dec 2024 19:39:55 +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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148707 Archived-At: > Date: Sun, 08 Dec 2024 19:39:55 +0000 > From: Heime > Cc: help-gnu-emacs@gnu.org > > > On Monday, December 9th, 2024 at 7:07 AM, Eli Zaretskii wrote: > > > > Date: Sun, 08 Dec 2024 18:55:52 +0000 > > > From: Heime heimeborgia@protonmail.com > > > Cc: help-gnu-emacs@gnu.org > > > > > > > I was talking about Emacs. Your original question was about other > > > > editors. I'm not familiar with other modern editors enough to tell > > > > whether you should or should not worry. In particular, I don't know > > > > how they recognize UTF-8, and am not sure that Emacs coding cookies > > > > are supported by them. > > > > > > Is it reasonable to expect that UTF-* characters are recognised and supported? > > > > > > Reasonable? yes. But the problem is not trivial: Emacs itself not > > always recognizes UTF-8 reliably. So there could be problems. > > > > > What is your school of thought regarding emacs? > > > > > > I don't understand the question, sorry. > > Should we comfortable use UTF Characters in source code when using Emacs? > When there are problems, do they usually get looked into and fixed if possible? If you are talking about Emacs, then my recommendation is to always use a coding: cookie. Then it's 100% reliable when Emacs reads the file.