<<< Date Index >>>     <<< Thread Index >>>

Re: Headers rewriting problem



On Thu, Nov 06, 2003 at 02:02:32PM +0100, Alain Bench wrote:

>  On Friday, October 31, 2003 at 2:12:05 PM -0500, David Yitzchak Cohen wrote:
> 
> > On Fri, Oct 31, 2003 at 10:59:53AM +0100, Alain Bench wrote:
> >> On Thursday, October 30, 2003 at 4:47:41 PM -0500, David Yitzchak Cohen 
> >> wrote:
> >>> Cc: =?utf-8?B?U8OpqWJhc3RpZW4=?= [...]
> >> that is invalid UTF-8
> > My Mutt configuration is online
> 
>     I didn't found anything causing the problem, even simulating being
> you with your rc files. BTW also found nothing explaining your not MFT
> honoring problem: I (Dave) could reply OK to myself (Alain) on mutt-dev.

interesting. . .

> > LANG=es
> > LC_ALL=es_ES.UTF-8
> 
>     Better use single LANG=es_ES.UTF-8, unsetting LC_ALL: Will give
> *exact* same result, but cleaner.

Yeah, I probably should do so.  I've been too lazy for a while ;-)

>     In another thread you say you use es_ES.UTF-8 without having it
> installed. Bad. Verify doing (case matters):
> 
> | $ locale --all-locales | grep ^es_ES
> | es_ES
> | es_ES.iso-8859-15
> | es_ES.utf-8
> | es_ES@euro

$ locale --all-locales | grep ^es_ES
es_ES
es_ES@euro
es_ES.iso88591
es_ES.iso885915@euro
es_ES.utf8

>     And in Mutt typing ":reset charset; set ?charset" to see if guessed
> default charset matches locale.

...results in:
charset="utf-8"

> Or typing "locale charmap" at shell.

$ locale charmap
UTF-8

>     In your muttrc you set $locale=es_ES: This uses implicit Latin-1,
> incompatible with UTF-8. Bad. The general rule is to use always same or
> compatible charsets for every locale category.

really?  Lemme look at my config. . .
Yeah, good point ... done.

> > You're not talking about my original reply, are you?
> 
>     Yes: Your first in thread, immediate <parent-message> (P) of mine in
> a threaded view (well, now 3 levels up).
> 
> > I simply copied/pasted his addy into the CC.
> 
>     From pager to askcc prompt, or in editor to Cc: header?

probably from pager to askcc prompt ... don't remember that far back ;-)

> >| Date: Thu, 30 Oct 2003 16:47:41 -0500
> >| Cc: Sé�bastien Hinderer <Sebastien.Hinderer@xxxxxxxxxxx>
> > copied/pasted from my sent view
> 
>     This time there was valid UTF-8, but a spurious replacement char
> U+FFFD inserted between 'é' and 'b'. Was the invalid byte raw in sent
> folder, on sent folder display, or the copy/paste generated it?

I don't understand :-(

> What
> copy/paste do you use: Mouse /usr/sbin/gpm, or some function of screen?

I know I used screen for that copy/paste, and in general I find myself
using screen's copy/paste often even from within VI ... go figure. . .

> -- 
> Mutt muttrc tip to send mails in best adapted first necessary and sufficient
> charset (version for Western Latin-1/Latin-9/CP-850/CP-1252 terminal users):
> set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"

Yeah, I know.  I purposely changed it to UTF, in order to encourage
its use.

Thanks a bunch for going through all that to help me out.  It really
means a lot to me.

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpmDu4KxlvRs.pgp
Description: PGP signature