More testcases are always welcome.
/ Peter Bortas
Previous text:
2002-12-12 18:34: Subject: incorrect rfc2047 MIME decoding?
It looks like MIME.decode_words_text_remapped eats spaces in places it shouldn't:
MIME.decode_words_text_remapped("=?ISO-8859-1?Q?a?= b c =?ISO-8859-1?Q?d?=");
(17) Result: "ab cd"
The result should have been "a b c d". Whitespace is only supposed to be removed between adjacent encoded-words (section 6.2).
Maybe the samples from rfc2047 should be added to the MIME testsuite?
/ Brevbäraren