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


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: jonathan <at> jonreeve.com, Eli Zaretskii <eliz <at> gnu.org>, 57531 <at> debbugs.gnu.org
Subject: bug#57531: 28.1; Character encoding missing for "eo"
Date: Mon, 05 Sep 2022 00:00:20 +0000
>>> (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.




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.