[MacPorts] #52420: neomutt: Umlauts, accents are wrongly displayed
MacPorts
noreply at macports.org
Tue Sep 27 19:34:16 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 cal@…):
Try `unset LC_CTYPE` (and possibly also `unset LC_ALL`) before starting
neomutt.
It seems that a number of Terminals have a feature to helpfully
automatically set the locale variables, but end up setting them to an
unsupported value. Not setting them does not cause problems, but setting
them to unsupported values renders special characters broken. I bisected
this to
https://github.com/neomutt/neomutt/commit/f28b4cace4a1f26eace3120ae08e0b943557139f,
which comes from mutt upstream, so is not a neomutt problem.
In iTerm, unticking "Preferences > Profiles > $yourprofile > Terminal >
Environment > Set locale variables automatically" and opening a new Shell
session fixed this for me. Terminal.app has a similar setting.
--
Ticket URL: <https://trac.macports.org/ticket/52420#comment:3>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list