On Mon, Jun 1, 2015 at 9:27 PM, Suvayu Ali <fatkasuvayu+li...@gmail.com> wrote:
> On Mon, Jun 01, 2015 at 08:06:47PM -0400, Xu Wang wrote:
>> Dear all,
>>
>> I cannot seem to configure mutt such that the builtin pager renders accents.
>>
>> "Todavía" is shown as "TodavM-CM--a"
>> "También" is shown as "TambiM-CM-)n"
>>
>> When I set the pager to "less" or "vim", they are shown correctly.
>
> I think setting your locale to any UTF-8 value should do.  Here is mine:
>
>   LANG=en_IN.utf8
>   LC_CTYPE="en_IN.utf8"
>   LC_NUMERIC="en_IN.utf8"
>   LC_TIME="en_IN.utf8"
>   LC_COLLATE="en_IN.utf8"
>   LC_MONETARY="en_IN.utf8"
>   LC_MESSAGES="en_IN.utf8"
>   LC_PAPER="en_IN.utf8"
>   LC_NAME="en_IN.utf8"
>   LC_ADDRESS="en_IN.utf8"
>   LC_TELEPHONE="en_IN.utf8"
>   LC_MEASUREMENT="en_IN.utf8"
>   LC_IDENTIFICATION="en_IN.utf8"
>   LC_ALL=
>
> I only set my LANG before login from my desktop manager (lightdm).  AIU,
> the rest are derived from LANG.  If you set LC_ALL however, it overrides
> all the others.

Dear Suvayu,

In a bash terminal, I ran the commands you posted with the exception
that I put "export" before them. Then I ran mutt. There was no
difference. I checked that in locale -a there is indeed en_IN.utf8.

I wonder why this works for you and not for me.

In any case, thank you for the idea.

Xu

Reply via email to