Re: [gentoo-user] Re: charset iso/utf

2007-08-10 Thread Philip Webb
070810 Alexander Skwar wrote: > You wrote: "(I've just been reading LeCarré)". Notice the letters "é". > This looks quite a lot like UTF-8 to me. > In your header, "you" are saying, that you don't use UTF-8, though. I write e-mails with Gvim called up by Mutt (as now). My Gvim settings (probably

Re: [gentoo-user] Re: charset iso/utf

2007-08-11 Thread Benno Schulenberg
Philip Webb wrote: > 070810 Alexander Skwar wrote: > > You wrote: "(I've just been reading LeCarré)". Notice the > > letters "é". This looks quite a lot like UTF-8 to me. > > In your header, "you" are saying, that you don't use UTF-8, > > though. > > I write e-mails with Gvim called up by Mutt (a

Re: [gentoo-user] Re: charset iso/utf

2007-08-11 Thread Philip Webb
070811 Benno Schulenberg wrote: > Philip Webb wrote: >> I write e-mails with Gvim called up by Mutt (as now). >> [...] >> termencoding -- character encoding used by the terminal >> set tenc=utf-8 > This suggests you are using a UTF-8 locale. In /etc/locale.gen I have en_US ISO-8859-

Re: [gentoo-user] Re: charset iso/utf

2007-08-11 Thread Benno Schulenberg
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

Re: [gentoo-user] Re: charset iso/utf

2007-08-12 Thread Philip Webb
070811 Benno Schulenberg wrote: > For the one you are actually using on the console (whether VT or xterm). > look at the output of 'locale'. purslow: system> locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX"

Re: [gentoo-user] Re: charset iso/utf

2007-08-12 Thread Benno Schulenberg
Philip Webb wrote: > purslow: system> locale > LANG= > LC_CTYPE="POSIX" You will have to use a UTF-8 locale if you want mutt/gvim to be able to handle anything beyond ASCII. When setting a POSIX locale, I also get this: > Content-Type: text/plain; charset=unknown-8bit When using a UTF-8

Re: [gentoo-user] Re: charset iso/utf

2007-08-12 Thread Philip Webb
070812 Benno Schulenberg wrote: > You will have to use a UTF-8 locale > if you want mutt/gvim to be able to handle anything beyond ASCII. > When using a UTF-8 locale, mutt correctly determines > whether the produced message fits in us-ascii, iso-8859-1 or needs utf-8. I now have (via a line in .b

Re: [gentoo-user] Re: charset iso/utf

2007-08-13 Thread Philip Webb
070813 Philip Webb wrote: > I now have (via a line in .bashrc ): > > LANG= > LC_CTYPE="en_US.UTF-8" ... snip ... > LC_ALL=en_US.UTF-8 > > There's no difference in the headers. > It occurs to me that I'm running Mutt via 'konsole -e mutt', > which is restarted automatically by KDE . > I di

Re: [gentoo-user] Re: charset iso/utf

2007-08-13 Thread Benno Schulenberg
Philip Webb wrote: > 070813 Philip Webb wrote: > > I now have (via a line in .bashrc ): > > > > LANG= > > LC_CTYPE="en_US.UTF-8" ... snip ... > > LC_ALL=en_US.UTF-8 Ideally LANG should be set and LC_ALL unset. The individual LC_* variables will take their value from LANG when LC_ALL is u

Re: [gentoo-user] Re: charset iso/utf : PS

2007-08-11 Thread Philip Webb
070811 Philip Webb wrote: > 070811 Benno Schulenberg wrote: >> That does not solve the actual bug: >> Mutt should not advertise charset=iso-8859-1 , >> when the message contains UTF-8. In .muttrc I have: set charset="iso-8859-1" Perhaps this sb changed to correspond with what Vim is doing ?