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 18:32:57 +0200 Message-ID: <86frmyf83q.fsf@gnu.org> References: <2427ab10a48abba2c811bcb01f4e74ce3832794f.camel@starynkevitch.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31347"; 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 17:34:02 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 1tKKEM-000825-54 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Dec 2024 17:34:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKKDz-0003af-2t; Sun, 08 Dec 2024 11:33:39 -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 1tKKDx-0003aX-D6 for help-gnu-emacs@gnu.org; Sun, 08 Dec 2024 11:33:37 -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 1tKKDx-0001F6-5F for help-gnu-emacs@gnu.org; Sun, 08 Dec 2024 11:33:37 -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=YrWbllqNGasIqEzkVecuLBIrxh0cKayF04H3kP4W0U8=; b=fDgPWdNbCAoo VmL425eJ08LxQin4RcHZ4aKPdZTzHdaGB60xa/0cNAWAjXdoiliBTbiTe9ZKsk0Rl473R7fHdRNRd W8XvGcrnNe/F7br6hA5ANCzpOHV1lzieY3dyt1kQ4b50NALTB12sXbJmvgJ26HrHckEaPF82jjDSN sVHl5PxQiVv6M+ODft2u3sHmDvZSsBV5ebKY/lkd1/kKc07+BKKV6i3RKYHSk1tt0GaYqvfOY+l1r DSq8PkemDkZlEYw9j3byoGrN4yEUNpY7w9RL2Ebk35+qH2yyPgexa64kmlp9kXvyV7CI+3Ki3xR/d tm7GHwIUNlBTvcjytqMelQ==; In-Reply-To: (help-gnu-emacs@gnu.org) 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:148695 Archived-At: > Date: Sun, 08 Dec 2024 15:15:31 +0000 > From: "W. Greenhouse" via Users list for the GNU Emacs text editor > > Heime via Users list for the GNU Emacs text editor > writes: > > > > > Is this becoming the norm? What about emacs? > > > > Does emacs encourage use of unicode characters (UTF-8) in code comments > > and documentation? > > > > UTF-8 represents Emacs' internal text encoding No, the internal encoding is different (it's a superset of UTF-8). > and also its default preference for new files. That is only true if the user's locale has UTF-8 as its codeset. > When visiting existing files it attempts to > detect the encoding, and maintain it while editing. That is correct.