Philip Webb wrote:
> 070811 Benno Schulenberg wrote:
> > This suggests you are using a UTF-8 locale.
>
> In  /etc/locale.gen  I have
>
>   en_US ISO-8859-1
>   en_US.UTF-8 UTF-8

Well, that just shows which locales you have available, not which 
one you are actually using on the console (whether VT or xterm).  
For the latter look at the output of 'locale'.

> For everyday purposes, I have no use for anything beyond ASCII,
> ie English + French German Spanish accents,

Strictly speaking, French, German, and Spanish accented characters 
_are beyond ASCII, they are found only in the extended ASCIIs.

Philip Webb also wrote:
> In  .muttrc  I have:
>
>   set charset="iso-8859-1"

Maybe comment this line out?  Probably mutt will then determine 
itself which characterset any message you produce uses and 
automatically convert to the lowest one possible.

Why gvim produces ISO-8859-1 when you run it from the command line, 
and produces UTF-8 when run from mutt is... weird.  Maybe you have 
utf-8 as the first entry in 'assumed_charset' in your .muttrc?

> > If gvim should produce ISO-8859-1, make sure to call it with
> > LC_ALL=C.
>
> Could you clarify in light of my test ?
> Eg do you mean I should alias Gvim in  .bashrc ?

No, just how mutt calls it, as it apparently works fine when run 
from the console.  Fiddle with the editor setting in .muttrc (if 
still necessary, because removing the 'set charset="iso-8859-1"' 
line may be all that is required.

Benno
-- 
[EMAIL PROTECTED] mailing list

Reply via email to