GNU bug report logs - #57531
28.1; Character encoding missing for "eo"

Previous Next

Package: emacs;

Reported by: Jonathan Reeve <jonathan <at> jonreeve.com>

Date: Thu, 1 Sep 2022 19:34:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 57531 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Reeve <jonathan <at> jonreeve.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 57531 <at> debbugs.gnu.org
Subject: Re: bug#57531: 28.1; Character encoding missing for "eo"
Date: Sat, 03 Sep 2022 01:28:56 +0000
“Eli Zaretskii” <eliz <at> gnu.org> writes:

> Can you tell what is the default encoding in that case?

It looks like it’s `iso-latin-3', which is not working, since all my unicode characters get mangled. See [the screenshot in this question of mine on StackExchange.]

> If you want the UTF-8 encoding to be the default, why is your locale
> set to “eo” and not to “eo.UTF-8”?

There is no eo.UTF-8 locale available to the system, as you can see [from the glibc documentation]. The “eo” locale is actually UTF-8, however. It’s interpreted as such just fine, across my whole system, except for in the emacs terminal, where it gets interpreted as `iso-latin-3'.

> Are you saying that the Esperanto locale _must_ use UTF-8?  If so,
> why?  AFAIK, ISO-8859-3 covers the Esperanto characters, so UTF-8 is
> not the only possible codeset for Esperanto locales.

If you look at that glibc document, you’ll see that the “eo” locale is actually UTF-8. Unlike `en_US', which has variants like  `en_US.UTF-8' which is UTF-8 and `en_US' which is ISO-8859-1, there is only `eo/UTF-8', i.e., `eo' which is UTF-8.


[the screenshot in this question of mine on StackExchange.] <https://emacs.stackexchange.com/questions/73393/how-can-i-fix-bad-character-encoding-in-the-terminal-and-other-functions-that-r>

[from the glibc documentation] <https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED>





This bug report was last modified 2 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.