[imp] display utf-8 message?

nlin@newton.berkeley.edu nlin at newton.berkeley.edu
Thu Jan 19 11:04:12 PST 2006


Hi

thanks for the info!  At least I have something to tell my users when 
they can't view the messages.

thanks
nancy

Quoting Michael M Slusarz <slusarz at bigworm.curecanti.org>:

> Quoting nlin <nlin at newton.berkeley.edu>:
>
>> What do you mean by broken?  I was able to display it fine in both pine
>> and thunderbird....Is there anything specific in the message that imp is
>> looking for and which isn't there??
>>
>> thanks
>> nancy
>>
>> Jan Schneider wrote:
>>> Zitat von nlin at newton.berkeley.edu:
>>>
>>>
>>>> Hi
>>>>
>>>> I'm having problems displaying a message that's in UTF-8 encoding.  The
>>>> message headers say:
>>>>
>>>>
>>>>> Content-Type: text/plain; charset="utf-8"
>>>>> Content-Transfer-Encoding: 8-bit
>>>>
>>>> However, in IMP 4.0.4 (Horde 3.0.7), it displays it as:
>>>>
>>>> Part(s):   1  	unnamed  	[application/octet-stream]  	0.27 KB
>>>>
>>>> I did some searching in the imp mailing lists archives and it looks
>>>> like horde/imp does support utf-8 encoding, so I'm wondering if I have
>>>> it mis-configured somewhere??
>>>
>>>
>>> The message is probably broken.
>
> This is bad:
> Content-Transfer-Encoding: 8-bit
> This message is *not* RFC compliant.  "8-bit" is not a valid encoding
> ("8bit" is).  Therefore, out IMAP processing library doesn not
> recognize the encoding and, per RFC, labels the message as
> application/octet-stream.
>
> Apparently other mailers are more lax or workaround this mistake.  2
> reasons we won't: 1.) we can't - the code used to parse messages is in
> the c-client library which we have no control over, and 2.) quite
> honestly, the _vast_ majority of malformed messages like this are from
> spammers so we aren't missing anything by not trying to work around
> this issue.
>
> michael
>
> _______________________________________
> Michael Slusarz [slusarz at curecanti.org]
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>




More information about the imp mailing list