The question was whether it would be most useful to give an error, or to silently insert the required whitespace.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-12-13 00:12: Subject: Re: incorrect rfc2047 MIME decoding?
In the last episode (Dec 13), Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum said:
So your array must end up being encoded as:
"=?us-ascii?q?Hello?= =?iso-8859-1?q?Wor?= =?iso-8859-2?q?ld?= =?us-ascii?q?!?="
That's not correct. By setting the charset for "Hello" to 0, rather than "us-ascii", I have requested that the Hello part is encoded literally, and not as an encoded-word.
Ah. Then you have asked the impossible, and MIME.encode_words_text should have thrown an exception, or failed in some other manner. Unencoded text must have a space between itself and encoded text.
-- Dan Nelson dnelson@allantgroup.com
/ Brevbäraren