From: Peter P. <ro...@ri...> - 2020-05-27 11:46:22
|
On Wed, May 27, 2020 at 12:39:57PM +0100, Richard Kimber via Fetchmail-users wrote: > On Wed, 27 May 2020 14:33:40 +0300 > Peter Pentchev <ro...@ri...> wrote: > > > ...but the whole point is that this encoding means that the subject > > contains non-ASCII characters. There is no way to convert them to > > ASCII. > > But if it's utf-8 can't you use something like: > konwert utf8-ascii Even if you do something like this, even if you manage to figure out a way to deal with characters that *do not exist* in the US-ASCII character set (yeah, I can see that konwert may have some limited capabilities of approximating them, but that sounds quite weird to me); even if you manage to do that, you will not have the original message. If you feed the modified message to procmail and it stashes it into some mailbox/folder/whatever or passes it to another program, you will *not* have the message that the sender wanted you to have. In some cases this might not be so bad ("I don't care if a spam message has an extra quote or not"), but in others, like verifying OpenPGP or S/MIME signatures, it might be, how do I put it, bad :) G'luck, Peter -- Peter Pentchev ro...@ri... ro...@de... pp...@st... PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 |