The folding of long plain ascii text is missing.
Example: mb.setSubject(vmime::text ("aaaaaaaaaaaa…aaaaaaaaa"));
encodes to: Subject: aaaaaaaaaaaa…aaaaaaaaa
If there are some special characters in the string, the encoded word is folded correctly.
mb.setSubject(vmime::text ("äaaaaaaaaaaaa…aaaaaaaaa"));
Subject: =?UTF-8?Q?=C3=A4aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?= =?UTF-8?Q?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?=
Hello,
Here is a patch to perform line folding on long ASCII runs, with no whitespace: http://www.vmime.org/download/patches/vmime-20101013-longasciifolding.patch
Regards,
Vincent
Thanks,
it works for me.
Best Regards Achim
Log in to post a comment.
The folding of long plain ascii text is missing.
Example:
mb.setSubject(vmime::text ("aaaaaaaaaaaa…aaaaaaaaa"));
encodes to:
Subject: aaaaaaaaaaaa…aaaaaaaaa
If there are some special characters in the string, the encoded word is folded correctly.
mb.setSubject(vmime::text ("äaaaaaaaaaaaa…aaaaaaaaa"));
Subject: =?UTF-8?Q?=C3=A4aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?=
=?UTF-8?Q?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?=
Hello,
Here is a patch to perform line folding on long ASCII runs, with no whitespace:
http://www.vmime.org/download/patches/vmime-20101013-longasciifolding.patch
Regards,
Vincent
Thanks,
it works for me.
Best Regards
Achim