On Mon Jan 28 18:17:51 2002 +0000 [EMAIL PROTECTED] wrote:

>On Mon, Jan 28, 2002 at 08:04:14PM +0200, Richard ??epas wrote:
>> Hi,
>> 
>> First, there should be _ instead of spaces.
>> Second, all this should be on one line without spaces.
>> Third, encoded word limit is about 78 (?) bytes and you are obviously 
>> exceeding it.
>> Forth, you would better use B encoding.
>> MIME::Words header encoder is or was very buggy and barely usable.
>> Here is a patched version attached that addresses these and other problems. 
>> Don't know if
>> author has released new mime tools version after I have sent him a patch.
>
>Thanks for your help with this & patch.
>
>Just after posting to this list, I noticed that Mozilla 0.9.7 couldn't
>decode my subject line either, which made me think it really was a problem
>with the subject line and not with Outlook :-)
>
>Just one question: I notice that your code attempts to split the
>string into "words" of about 15 chars long. Does this mean that
>I don't need to worry about the 78 byte limit? (That would be a
>real problem for me since subject headers sent by my email client
>could obviously be longer ...)
>
        Yes, encode_mimewords can output more then one encoded word, length of each 
one depends on encoding & other circumstances but should not exceed 78 bytes in the 
worst case.
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to