[MacPorts] #52420: neomutt: Umlauts, accents are wrongly displayed
MacPorts
noreply at macports.org
Tue Sep 27 22:29:18 CEST 2016
#52420: neomutt: Umlauts, accents are wrongly displayed
------------------------------------+------------------------
Reporter: michele.marcionelli@… | Owner: leonardo@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: neomutt |
------------------------------------+------------------------
Comment (by leonardo.schenkel@…):
I don't touch LANG as well. In all Macs I have ever owned, in all OS X
versions I can remember, Terminal.app sets the locale like this:
{{{
LANG=<locale from regional settings>.UTF-8
LC_CTYPE=UTF-8
}}}
I never saw plain "C" for LANG, though, which is curious.
Why it uses "UTF-8" for LC_CTYPE and not a well-formed locale name is a
mystery to me, especially since it can do that just well for LANG — and
since LANG is already defined as a UTF-8 locale, there's no need to set
LC_CTYPE at all.
I'm not an expert, but my understanding is that the relevant specs say
that all locales must be in the form of `lang_country_variant.charset`
with notable exceptions ("C", "POSIX"). Even though "UTF-8" exists as a
locale in the Mac, it's not supposed to be a valid locale name. I even
tried to create such a locale via `locale-gen` on Linux systems and it
refuses to do so.
--
Ticket URL: <https://trac.macports.org/ticket/52420#comment:8>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list