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

Re: Headers rewriting problem



 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.


> 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.

    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

    And in Mutt typing ":reset charset; set ?charset" to see if guessed
default charset matches locale. Or typing "locale charmap" at shell.

    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.


> 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?


>| 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? What
copy/paste do you use: Mouse /usr/sbin/gpm, or some function of screen?


Bye!    Alain.
-- 
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"