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.bugs Subject: bug#57531: 28.1; Character encoding missing for "eo" Date: Mon, 05 Sep 2022 16:04:09 +0300 Message-ID: <83tu5mj7li.fsf@gnu.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> <0b2303e392fb4ac7f236@heytings.org> <83bkrukq1f.fsf@gnu.org> <0b2303e392221b7deeaf@heytings.org> <83zgfej9fy.fsf@gnu.org> <0b2303e39222004d306b@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30443"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jonathan@jonreeve.com, 57531@debbugs.gnu.org, schwab@linux-m68k.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 15:21:42 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 1oVC2o-0007lc-1I for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 15:21:42 +0200 Original-Received: from localhost ([::1]:53106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVC2l-0003Nr-Aa for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 09:21:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVBmg-0000J8-L0 for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 09:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVBmg-0002wx-An for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 09:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVBmf-0008RS-O7 for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 09:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Sep 2022 13:05:01 +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.166238308832427 (code B ref 57531); Mon, 05 Sep 2022 13:05:01 +0000 Original-Received: (at 57531) by debbugs.gnu.org; 5 Sep 2022 13:04:48 +0000 Original-Received: from localhost ([127.0.0.1]:46783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVBmO-0008Qr-6n for submit@debbugs.gnu.org; Mon, 05 Sep 2022 09:04:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVBmI-0008Qb-Qi for 57531@debbugs.gnu.org; Mon, 05 Sep 2022 09:04:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVBmB-0002tV-Gz; Mon, 05 Sep 2022 09:04:32 -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=HR8AfCgUH3qPqOKOjVhIdvb1uEGbN6ADw8I9Ww56tTU=; b=dtzsVp9RkglY hYPMjn5YP95tTSEV4QIHTM773nzoC9htNLAxbQ25w54RlpsdQHuTu4e1r/+Panjdv1eXygGtuJkqe CXkl9MthP4SIw0nJxA6GPrY4ABUI/5CITd8hYLO6aP1XMJPlVl2uOhIhwqzPHSqZZHT/0CLvW2HeK U6HNApxEwPgBkP7UGIqfKBKnrNW+6fI3nh1wVKEbLnlH0lHrhCE/JE6Hh05SW/bLGDWUxMseZcOWJ ykBcKs4xybzwGw75HWebij1Xo+e6ajTkXvEqTpTABwLYAJ0MoQsnCmC4Emyrwwv6vx3VRfLPWwHSW CzGJAG5C+FSyK85UKxDgfw==; Original-Received: from [87.69.77.57] (port=4259 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 1oVBmA-0007aj-Tx; Mon, 05 Sep 2022 09:04:31 -0400 In-Reply-To: <0b2303e39222004d306b@heytings.org> (message from Gregory Heytings on Mon, 05 Sep 2022 12:38:24 +0000) 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:241562 Archived-At: > Date: Mon, 05 Sep 2022 12:38:24 +0000 > From: Gregory Heytings > cc: schwab@linux-m68k.org, jonathan@jonreeve.com, 57531@debbugs.gnu.org > > >> eo eo_XX.ISO8859-3 > >> eo_XX eo_XX.ISO8859-3 > >> eo: eo_XX.ISO8859-3 > >> eo_XX: eo_XX.ISO8859-3 > > > > If this is what locale.alias says, doesn't it mean that the system wants > > us to use Latin-3 by default for this locale? IOW, why does nl_langinfo > > return a value that is different from what this file says? Is that > > because locale.alias comes from X11, not from glibc? > > I guess so, yes, given that glibc only knows of one encoding for the "eo" > locale, namely "UTF-8". There's also /usr/share/locale/locale.alias, but on GNU/Linux system to which I have access it doesn't have any information for the eo or Esperanto locales. > > In any case, unless we change the code in mule-cmds.el, as long as > > locale.alias says the above, what we say in language-info-alist about > > this locale doesn't matter. At least that's my reading of the code in > > mule-cmds.el. > > You are correct. I should have tried the suggested patch before. It has > no effect indeed, at least here. You mean, the patch I proposed in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57531#64? For that to work, we need to make 'locale-info' pseudo-encoding override what locale.alias file says, I presume. > I think the conclusion is that the OP should either set his locale to > "eo.UTF-8", or add (prefer-coding-system 'utf-8) in his init file. That was suggested, yes.