#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 michele.marcionelli@…): Just for your information: the old mutt-devel (Mutt 1.6.0 (2016-04-01)) was working well with the default settings, i.e. with the "set locale variables automatically" setting for Terminal (or iTerm) which correspond to following {{{locale}}}: {{{ LANG= LC_COLLATE="C" LC_CTYPE="UTF-8" LC_MESSAGES="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_ALL= }}} Now with the new neomutt (NeoMutt 20160916 (1.7.0) - just installed today) I get following results: 1) with default {{{locale}}} (see above): - in the mail listing I read the subject "Z??rich" instead of "Zürich" - while reading the email I see in the header "Subject: Z??rich" and in the body "Z\303\274rich" 2) with {{{unset LC_CTYPE}}} I get this output of {{{locale}}} {{{ LANG= LC_COLLATE="C" LC_CTYPE="C" LC_MESSAGES="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_ALL= }}} and I see: - in the mail listing I read the subject "Zrich" instead of "Zürich" - while reading the email both header and body is OK 3) with {{{export LC_ALL=en_US.UTF-8}}} I get this output of {{{locale}}} {{{ LANG= LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_ALL="en_US.UTF-8" }}} and everything seems to work fine; also {{{export LC_ALL=en_US}}} oder {{{export LC_ALL=de_CH}}} work find. What is the difference with (1)? Why (1) don't work correctly with neomutt? I also noticed that not setting the LC_ALL but all other LC_* event to different values mutt will display umlauts and accents correctyle; but if I just unset one of the LC_* mutt will fail: {{{ LANG= LC_COLLATE="de_AT" LC_CTYPE="de_DE" LC_MESSAGES="en_US" LC_MONETARY="de_CH" LC_NUMERIC="fr_FR" LC_TIME="en_GB" LC_ALL= }}} ==> is ok for mutt {{{ LANG= LC_COLLATE="de_AT" LC_CTYPE="de_DE" LC_MESSAGES="en_US" LC_MONETARY="C" LC_NUMERIC="fr_FR" LC_TIME="en_GB" LC_ALL= }}} ==> is no more ok for mutt HTH ;-) Bests, Michele -- Ticket URL: <https://trac.macports.org/ticket/52420#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system