Re: Q: View as Windows-1252?
- To: mutt-users@xxxxxxxx
- Subject: Re: Q: View as Windows-1252?
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Mon, 20 Aug 2007 12:34:49 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=okpXJbbrCXzYbSSckb44M8dvkcs=; b=cvDEjdFrcCTIBfSwFn7MSWboBZUVHRCFEK4gAa/VtjBIrqwa2YjBbERg66dLFDXBS2z7fkWhdHcETe5hV7tqYz9zi38jtbLWTDJaL1mMLTU19dNMsTLFdBJFokUU7BEiMztC1v63mWjM6r9oIkAQINK+C/By6fa81ZgfT44IrdY=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=fgRWfwj0CA8j44263iYTrj4h4EvUEcrPeijjTno4fX+BAMRtYyz2X3Ub5wvu8c6s9acB0nnukHP9t9Txu37GFss5bkgLSeWXNQEApHM4q6sRTDLNGMOxwo37Wpem7e+m45h88dDcL9scjtk6f0fShz4DV0jJxQ0BZdXM9/lyR10=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20070820164918.GA2066@xxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20070803133738.GB13989@xxxxxxxxxxxxxxxxxxxxxxxx> <20070820164918.GA2066@xxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-07-25)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday, August 20 at 06:49 PM, quoth Alain Bench:
> -4) Kyle: You listed "charset-hook none windows-1252". I don't
> recall having ever seen a charset=none label. Does it really happen?
I did actually see it in the wild. I think it was a misconfigured
webmail client (<shudder> webmail clients are some of the worse
abusers of charsets).
> -7) $assumed_charset takes a list of charsets, right. For raw
> headers, Mutt scans the list and takes the first charset in which
> the header is fully valid. However for bodies, Mutt takes... item #1
> in list, period.
> There is *no* charset auto-sensing for bodies.
Oho! Interesting. How come?
> -10) Due to points #7 and #8, the optimal generic $assumed_charset
> for westerners (ie for all Latin-1 centered languages) is the
> mono-charset $assumed_charset=windows-1252
>
> Appending anything is (practically) useless. Prepending "utf-8"
> would be good to headers, but would harm bodies.
Huh.
You know, it seems to me that something like that might benefit from
matching all characters, in the guessed charset, against [:print:]
(however that is determined for that charset). Is that even possible,
or so ridiculously hard so as to never be implemented?
~Kyle
- --
A fanatic is one who can't change his mind and won't change the
subject.
-- Winston Churchill, July 5, 1954
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFGyd7JBkIOoMqOI14RAsdEAKDFUSF+o/ea2/I9HBZUdV8Hw275PgCfQUJB
vlJFTOCeEycNkR5NoRcREQE=
=Al1V
-----END PGP SIGNATURE-----