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 08:16:18 +0000 Message-ID: <0b2303e392fb4ac7f236@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> <0b2303e3924bf00b49d2@heytings.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="26252"; 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 10:18:26 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 1oV7JI-0006VZ-NM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 10:18:25 +0200 Original-Received: from localhost ([::1]:48954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV7JH-0002iL-1M for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 04:18:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV7Hy-00027D-OJ for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 04:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV7Hy-00037h-E0 for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 04:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oV7Hy-0004yU-8Y for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 04:17: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 08:17: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.166236578719072 (code B ref 57531); Mon, 05 Sep 2022 08:17:02 +0000 Original-Received: (at 57531) by debbugs.gnu.org; 5 Sep 2022 08:16:27 +0000 Original-Received: from localhost ([127.0.0.1]:46364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oV7HO-0004xX-Lw for submit@debbugs.gnu.org; Mon, 05 Sep 2022 04:16:27 -0400 Original-Received: from heytings.org ([95.142.160.155]:55512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oV7HI-0004xJ-Hl for 57531@debbugs.gnu.org; Mon, 05 Sep 2022 04:16:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1662365779; bh=7hzRnGQzsbQtM91Qx0WJ2MuQ3RPpf1tjAERJY9WoHc4=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=vUHgWYcxN25LchoF96m2Q7LoGoKBr2vyGEvKZrwJxWCNEO15adxtvRVtoqkjAbilI PNPefhXJi3Lwcj9OGbUbreIrcx3IL0bW6FjhZMD1AcyTUqx15BUzHgM4CWI4Og3/RQ gx14KTuBaCCBpqEO3m4hoCbrj7VBNJ1RVzkOHrSVmFhWBnXXU6UDg7aw6RCv5vly6y +pqJThx+GN8GVfGq+7jrQ/hEn5AaG6g4+1cMr+k788dunBr1tKkqv96nR2rOv9MPOy +TBLBGS0fScN/Fw7pm+t5WXutzUq3x3N6lqiEKsMas7CKLN0mN9Us7wsbNwLyeayjS hKFSxj7GG/2Og== In-Reply-To: <0b2303e3924bf00b49d2@heytings.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:241536 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. > (BTW, this also means that the OP could solve his problem by using "eo.UTF-8" for his locale instead of only "eo".)