[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bad RFC 2047 decoding in Rmail
From: |
Stefan Monnier |
Subject: |
Re: Bad RFC 2047 decoding in Rmail |
Date: |
Tue, 07 Jan 2020 12:35:22 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> I debugged this some, and found that rfc2047-decode-encoded-words
>> is decoding header fields such as =?iso-8859-1?Q?B=C3=A9raud?=
>> incorrectly, using a peculiar choice of coding system, windows-1252.
`windows-1252` is a superset of `iso-8859-1` (it assigns chars to a few
more bytes which `iso-8859-1` leaves unused), so it can only generate
"incorrect" output if `iso-8859-1` would have generated incorrect output
as well.
Stefan