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: Sun, 04 Sep 2022 23:35:37 +0000 Message-ID: <6fb0e08e80e292e6c7a0@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28450"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jonathan Reeve , 57531@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 01:55:05 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 1oUzSD-0007E7-EG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 01:55:05 +0200 Original-Received: from localhost ([::1]:55450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUzSC-00019M-H4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 19:55:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUz9m-00087i-FN for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 19:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57226) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUz9m-0005Ef-3J for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 19:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUz9l-0004EB-Uc for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 19:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Sep 2022 23:36: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.166233454916232 (code B ref 57531); Sun, 04 Sep 2022 23:36:01 +0000 Original-Received: (at 57531) by debbugs.gnu.org; 4 Sep 2022 23:35:49 +0000 Original-Received: from localhost ([127.0.0.1]:45925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUz9S-0004De-Qm for submit@debbugs.gnu.org; Sun, 04 Sep 2022 19:35:49 -0400 Original-Received: from heytings.org ([95.142.160.155]:55084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUz9Q-0004DU-1H for 57531@debbugs.gnu.org; Sun, 04 Sep 2022 19:35:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1662334538; bh=8llUN0Gd/EBkLVp0IZz9WDDK0DzcPcrIUl0gTgxd8Ng=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=2uUuB+1/Y9JVLMXL4zI0pFBNt8Dqk/mxUNV6tL4UAzWvu6HFke59PrLwmiQrGg7BL DzRk0Tsj1ybKEE2/vH2B1tva7+BsBXMQbwYtuMyqt/xiQtpPKEP8HMA0UgHE14TmWs +TeOGN5y77e3B7VlRq8XCa9rTiTuVptCn3/r6bUHePNgKVrnOpkTyeDCMs7d4Ff1K0 19PMVc8jfIhV1B/TM5Diz25i7xUAYYH+VHind38M7Oz+zkwG1Qz95ZHMh+1KTelS5V PK9XVq7zCAcbGQ3VV4Ggfjy64Ne1a5rY+xKJGmF7tM3dP5fbZno79HdTevac0eMUhA R+ZzSHxRuzMew== In-Reply-To: <831qsrn1im.fsf@gnu.org> Content-ID: <6fb0e08e80e3d51347b8@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:241529 Archived-At: >> The problem is in this line from `locale-language-names'. Here's what >> it says: >> >> `("eo" . "Esperanto")' >> >> Here's what it should say: >> >> `("eo" "Esperanto" utf-8)' > > That's only correct for glibc systems, though, as I already explained. I > found no authoritative place on the Internet which would mandate that > the Esperanto locale should use or prefer UTF-8 as its encoding. > I don't think it's possible to find a truly authoritative source of information about an artificial language. One semi-authoritative source is Bertilo Wennergren, who is (according to Wikipedia) a member of the Esperanto Academy and "holds the post of director of the Academy's General Dictionary section". He appears to be the expert on that matter (namely computer encodings for Esperanto), and explains on his website that: Latino 3 is made for Esperanto and for the Galician, Maltese and Turkish languages. However, few computer programs support Latin 3, and some bodies have even directly discouraged the use of Latin 3. The Turks currently prefer the character code Latin 5 (ISO 8859-9) . Esperantists also currently prefer and should prefer Unicode instead of Latin 3. [1, translation from Google] He also gives instructions on how to configure a GNU/Linux distribution for Esperanto: To be able to use Esperanto well in Linux, it is necessary that the system uses a Unicode locale. Fortunately, more or less all Linux distributions currently use Unicode locales by default. To check which character code your system's locale uses, type the following command: "locale charmap". If the answer appears "UTF-8" (that is the most commonly used code representation of Unicode), then everything about character code in your locale is already in order. [2, translation from Google] Amusingly, at the bottom of that page one finds: It is also possible to speak Esperanto in the powerful text editor "Emacs", but I know nothing about "Emacs". I myself mainly use the Vim editor. Here are instructions for installing and configuring Unicode Vim 7. So it seems safer to assume that the coding system is UTF-8 when the locale is "eo" (which IIUC is what the above suggested change does), and to expect users who would not like that default to add (prefer-coding-system 'iso-latin-3) in their init file, than to assume ISO-8859-3 when the locale is "eo" (which IIUC is what Emacs currently does), and to expect users who do not like that default to add (prefer-coding-system 'utf-8) in their init file. [1] https://bertilow.com/html/signokodoj/latino3.html [2] https://bertilow.com/komputo/linukso.html