[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mhfixmsg character set conversion
From: |
David Levine |
Subject: |
Re: mhfixmsg character set conversion |
Date: |
Sun, 20 Feb 2022 18:58:08 -0800 |
Ralph wrote:
> Hi David,
>
> > 1. Attempt to decode the body, given any encoding.
> > 2. If unable to decode or if any NUL octets in the decoded text,
> > leave the body encoded. If unable to decode, that's allowed by
> > RFC 2047 ยง 6.2. If any NULs, that seems to be in the same spirit.
>
> +1
Commit a73f7f08a07e09200f320a734233ab0293e8f428. Steven, this
should decode your ASCII-encoded header field bodies.
Of course it didn't end up being that simple. There already was a
function, decode_rfc2047(), that does what it says. However, it can
only convert to the local charset. A possible future enhancement
would be to convert to any specified charset. And maybe repurpose
the argument of the mhfixmsg -decodeheaderfieldbodies switch to
specify the destination charset.
David
- Re: mhfixmsg character set conversion, (continued)
- Re: mhfixmsg character set conversion, Steven Winikoff, 2022/02/13
- Re: mhfixmsg character set conversion, David Levine, 2022/02/13
- Re: mhfixmsg character set conversion, Steven Winikoff, 2022/02/13
- Re: mhfixmsg character set conversion, Robert Elz, 2022/02/13
- Re: mhfixmsg character set conversion, David Levine, 2022/02/14
- Re: mhfixmsg character set conversion, Steven Winikoff, 2022/02/14
- Re: mhfixmsg character set conversion, Ralph Corderoy, 2022/02/15
- Re: mhfixmsg character set conversion, Ralph Corderoy, 2022/02/15
- Re: mhfixmsg character set conversion, David Levine, 2022/02/15
- Re: mhfixmsg character set conversion, Ralph Corderoy, 2022/02/15
- Re: mhfixmsg character set conversion,
David Levine <=
- Re: mhfixmsg character set conversion, Steven Winikoff, 2022/02/20
- Re: mhfixmsg character set conversion, David Levine, 2022/02/20
- Re: mhfixmsg character set conversion, Steven Winikoff, 2022/02/21
- Re: mhfixmsg character set conversion, David Levine, 2022/02/21
- Re: mhfixmsg character set conversion, Steven Winikoff, 2022/02/21
- Re: mhfixmsg character set conversion, Ken Hornstein, 2022/02/21
- Re: mhfixmsg character set conversion, Steven Winikoff, 2022/02/21
- Re: mhfixmsg character set conversion, Ralph Corderoy, 2022/02/22
- Re: mhfixmsg character set conversion, David Levine, 2022/02/22
- Re: mhfixmsg character set conversion, Steven Winikoff, 2022/02/22