From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#57531: 28.1; Character encoding missing for "eo" Date: Mon, 05 Sep 2022 00:00:20 +0000 Message-ID: <0b2303e3924bf00b49d2@heytings.org> References: <87h71r0w5z.fsf@jonreeve.com> <83h71qqq5e.fsf@gnu.org> <878rn1p7oz.fsf@jonreeve.com> <8335d8o6ow.fsf@gnu.org> <877d2kpfe1.fsf@jonreeve.com> <83o7vwmlet.fsf@gnu.org> <875yi4p6se.fsf@jonreeve.com> <831qsrn1im.fsf@gnu.org> <875yi31v17.fsf@linux-m68k.org> <83v8q3li60.fsf@gnu.org> <87wnajzj6z.fsf@linux-m68k.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21167"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jonathan@jonreeve.com, Eli Zaretskii , 57531@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 02:02:33 2022 Return-path: Envelope-to: geb-bug-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 1oUzZQ-0005LN-9S for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 02:02:32 +0200 Original-Received: from localhost ([::1]:34146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUzZM-0003L7-Kb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 20:02:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUzXz-0003JK-3O for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 20:01:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUzXy-0000Hy-P2 for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 20:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUzXy-0004rZ-64 for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 20:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Sep 2022 00:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57531 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57531-submit@debbugs.gnu.org id=B57531.166233602518639 (code B ref 57531); Mon, 05 Sep 2022 00:01:02 +0000 Original-Received: (at 57531) by debbugs.gnu.org; 5 Sep 2022 00:00:25 +0000 Original-Received: from localhost ([127.0.0.1]:45930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUzXM-0004qZ-Jt for submit@debbugs.gnu.org; Sun, 04 Sep 2022 20:00:24 -0400 Original-Received: from heytings.org ([95.142.160.155]:55108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUzXK-0004qQ-Gn for 57531@debbugs.gnu.org; Sun, 04 Sep 2022 20:00:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1662336021; bh=/So4J5zum3/C5UKSQRidVlaZplQ1H4Dmh7hID9VmtwQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=zC8EXPMolsEbzzqKxi6SXx+eEi4ir64a9qZtOnRZg1S2jpPLoXtZFB3c7MZ962CzT xQQr9ILMHKNzXYXW5Pe3JukEAlNJXMp+2ssnSi/04bG9+BcMIEEgCh/XOvWdHkFd6/ LBOX4FncTMt13q3kCjKRdbE/jCDJSb6jYEuddeqJlZcgQgu/2cZ72hxHmfjkzLEofL KZDN+r1uuAdFl1Vdc+gHgm4fY2MfTZWh3bTFw70XacK8BCULoQYqZXmaD8rmFd8ma0 0dnDr0jDNtxqu8bDh4CS1jN6sbqba3BWPWbR/n+rTpfAf1E4TOkDtBPcbWHJVpnxGs JfLjtLoTIRZyQ== In-Reply-To: <87wnajzj6z.fsf@linux-m68k.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241530 Archived-At: >>> (locale-info 'codeset) >> >> If you mean that set-locale-environment should use that, please say >> that explicitly. And then feel free to suggest a patch that does TRT >> with all the convoluted logic and preferences there, so that we don't >> disrupt the setup it took us decades to come up to, for the benefit of >> a single obscure locale. > > It's not for a single obscure locale, it's for all of them. > Except that most other locales have "UTF-8" in their name when UTF-8 should be used, so the current logic selects the right encoding, without consulting (locale-info 'codeset). For example, with the locale "mt_MT", Emacs uses ISO-8859-3, and with the locale "mt_MT.UTF-8", Emacs uses UTF-8.