[opensuse] how to correct scrambled subject lines
[opensuse-offtopic] =?UTF-8?B?UmU6IFtvcGVuc3VzZS1vZmZ0b3BpY10gUmU6IFtvcGVuc3VzZS1vZmY=? =?UTF-8?B?dG9waWNdIFJlOiBbb3BlbnN1c2Utb2ZmdG9waWNdIFJlOiBbb3BlbnN1c2Utb2Y=? =?UTF-8?B?ZnRvcGljXSBGd2Q6IFRoZSBDb21wbGV0ZSBIaXN0b3J5IG9mIE1vbnNhbnRvLCA=? =?UTF-8?B?4oCcVGhlIFdvcmxk4oCZcyBNb3N0IEV2aWwgQ29ycG9yYXRpb27igJ0=? They appear like normal subject lines in Evolution but not in the source. Thus frustrating filtering which is based upon the source of a message not interpretation. Is there a program for correcting this so filters can work?? CWSIV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2014-10-06 16:29, Carl Spitzer wrote:
Is there a program for correcting this so filters can work??
No. You have to use filters that know how to handle that encoding, which is legal, by the way. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlQyxcAACgkQja8UbcUWM1xRqgD+NC3F2V5Xhv0K1P2KA8LBXSbP dI8EhFBatDwPE+z8FpEA/0/3CP5sFq3RJLsHVQMu6cu0fCM8iHe/HZnjbVYNoqcs =D1Ge -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Mon, 06 Oct 2014, Carl Spitzer wrote:
[opensuse-offtopic] =?UTF-8?B?UmU6IFtvcGVuc3VzZS1vZmZ0b3BpY10gUmU6IFtvcGVuc3VzZS1vZmY=? =?UTF-8?B?dG9waWNdIFJlOiBbb3BlbnN1c2Utb2ZmdG9waWNdIFJlOiBbb3BlbnN1c2Utb2Y=? =?UTF-8?B?ZnRvcGljXSBGd2Q6IFRoZSBDb21wbGV0ZSBIaXN0b3J5IG9mIE1vbnNhbnRvLCA=? =?UTF-8?B?4oCcVGhlIFdvcmxk4oCZcyBNb3N0IEV2aWwgQ29ycG9yYXRpb27igJ0=?
They appear like normal subject lines in Evolution but not in the source. Thus frustrating filtering which is based upon the source of a message not interpretation. Is there a program for correcting this so filters can work??
Those lines are Base64 encoded UTF-8 strings (the end is wrong though). Schema is: =? CHARSET ? ENCODING ? ENCODED_STRING ?= CHARSET is one of the official encoding names (first in line in the output of 'recode -l' is a good guess). ENCODING is either Q for Quoted-Printable or B for Base64. You could e.g. use this to decode the Subject: ==== /tmp/t.txt ==== From: foo Subject: =?UTF-8?B?UmU6IFtvcGVuc3VzZS1vZmZ0b3BpY10gUmU6IFtvcGVuc3VzZS1vZmY?= =?UTF-8?B?dG9waWNdIFJlOiBbb3BlbnN1c2Utb2ZmdG9waWNdIFJlOiBbb3BlbnN1c2Utb2Y?= =?UTF-8?B?ZnRvcGljXSBGd2Q6IFRoZSBDb21wbGV0ZSBIaXN0b3J5IG9mIE1vbnNhbnRvLCA?= =?UTF-8?B?4oCcVGhlIFdvcmxk4oCZcyBNb3N0IEV2aWwgQ29ycG9yYXRpb27igJ0?= To: bar ==== $ perl -MMIME::Head -e 'my $head = MIME::Head->new( \*STDIN ); \ $head->decode; print $head->get("Subject");' \ < /tmp/t.txt | recode utf8..latin9 Re: [opensuse-offtopic] Re: [opensuse-offtopic] Re: [opensuse-offtopic] Re: [opensuse-offtopic] Fwd: The Complete History of Monsanto, "The World's Most Evil Corporation" Note, that I fixed the end-code of the encoded headers from =? to ?=. The 'recode' is just because I use latin9 (usually for mail). HTH, -dnh --
What is the status of Linux' Unicode implementation. Will Linux be prepared for the first contact? We have full klingon console support just in case -- Alan Cox on linux-kernel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 2014-10-06 at 18:48 +0200, David Haller wrote:
Hello,
On Mon, 06 Oct 2014, Carl Spitzer wrote:
[opensuse-offtopic] =?UTF-8?B?UmU6IFtvcGVuc3VzZS1vZmZ0b3BpY10gUmU6IFtvcGVuc3VzZS1vZmY=? =?UTF-8?B?dG9waWNdIFJlOiBbb3BlbnN1c2Utb2ZmdG9waWNdIFJlOiBbb3BlbnN1c2Utb2Y=? =?UTF-8?B?ZnRvcGljXSBGd2Q6IFRoZSBDb21wbGV0ZSBIaXN0b3J5IG9mIE1vbnNhbnRvLCA=? =?UTF-8?B?4oCcVGhlIFdvcmxk4oCZcyBNb3N0IEV2aWwgQ29ycG9yYXRpb27igJ0=?
They appear like normal subject lines in Evolution but not in the source. Thus frustrating filtering which is based upon the source of a message not interpretation. Is there a program for correcting this so filters can work??
Those lines are Base64 encoded UTF-8 strings (the end is wrong though). Schema is:
=? CHARSET ? ENCODING ? ENCODED_STRING ?=
I am having problems with this what version of perl are you using. My main email box is an old PII running 10.0 and likewise older perl. CWSIV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carl Spitzer wrote:
On Mon, 2014-10-06 at 18:48 +0200, David Haller wrote:
Hello,
On Mon, 06 Oct 2014, Carl Spitzer wrote:
[opensuse-offtopic] =?UTF-8?B?UmU6IFtvcGVuc3VzZS1vZmZ0b3BpY10gUmU6IFtvcGVuc3VzZS1vZmY=? =?UTF-8?B?dG9waWNdIFJlOiBbb3BlbnN1c2Utb2ZmdG9waWNdIFJlOiBbb3BlbnN1c2Utb2Y=? =?UTF-8?B?ZnRvcGljXSBGd2Q6IFRoZSBDb21wbGV0ZSBIaXN0b3J5IG9mIE1vbnNhbnRvLCA=? =?UTF-8?B?4oCcVGhlIFdvcmxk4oCZcyBNb3N0IEV2aWwgQ29ycG9yYXRpb27igJ0=?
They appear like normal subject lines in Evolution but not in the source. Thus frustrating filtering which is based upon the source of a message not interpretation. Is there a program for correcting this so filters can work??
Those lines are Base64 encoded UTF-8 strings (the end is wrong though). Schema is:
=? CHARSET ? ENCODING ? ENCODED_STRING ?=
I am having problems with this what version of perl are you using. My main email box is an old PII running 10.0 and likewise older perl.
Carl, are you ever operating in the same decade as the rest of society?
CWSIV
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Thu, 09 Oct 2014, Carl Spitzer wrote:
On Mon, 2014-10-06 at 18:48 +0200, David Haller wrote:
On Mon, 06 Oct 2014, Carl Spitzer wrote:
[opensuse-offtopic] =?UTF-8?B?UmU6IFtvcGVuc3VzZS1vZmZ0b3BpY10gUmU6IFtvcGVuc3VzZS1vZmY=? =?UTF-8?B?dG9waWNdIFJlOiBbb3BlbnN1c2Utb2ZmdG9waWNdIFJlOiBbb3BlbnN1c2Utb2Y=? =?UTF-8?B?ZnRvcGljXSBGd2Q6IFRoZSBDb21wbGV0ZSBIaXN0b3J5IG9mIE1vbnNhbnRvLCA=? =?UTF-8?B?4oCcVGhlIFdvcmxk4oCZcyBNb3N0IEV2aWwgQ29ycG9yYXRpb27igJ0=?
They appear like normal subject lines in Evolution but not in the source. Thus frustrating filtering which is based upon the source of a message not interpretation. Is there a program for correcting this so filters can work??
Those lines are Base64 encoded UTF-8 strings (the end is wrong though). Schema is:
=? CHARSET ? ENCODING ? ENCODED_STRING ?=
I am having problems with this what version of perl are you using. My main email box is an old PII running 10.0 and likewise older perl.
What problem? It works fine with SuSE 10.1 / perl 5.8.8. Do you have perl-MIME-tools installed? -dnh -- It was horrible. I had friends in high school who wanted to have sex with my mother. I'm not going to blame her for being beautiful - but it's still gross. -- Clementine Ford on her famous mother Cybill Shepard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Banga Gong
-
Carl Spitzer
-
Carlos E. R.
-
David Haller