You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2008/07/26 10:27:31 UTC

[jira] Commented: (MIME4J-69) Decoding/encoding is not coherent between headers and body

    [ https://issues.apache.org/jira/browse/MIME4J-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617135#action_12617135 ] 

Robert Burrell Donkin commented on MIME4J-69:
---------------------------------------------

Decoding every header would have a performance impact if the header data is never read by the user.  It would be better to decode on demand if possible.

> Decoding/encoding is not coherent between headers and body
> ----------------------------------------------------------
>
>                 Key: MIME4J-69
>                 URL: https://issues.apache.org/jira/browse/MIME4J-69
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Stefano Bagnara
>             Fix For: 0.4
>
>
> It seems that we automatically decode quoted-printable and base64 encoded bodies, but we ignore encoding when the =?encoding?data? encoding is used in headers.
> We have procedures to deal with this kind of structures but we don't do that: DecoderUtil.decodeEncodedWords
> Should an header field automatically be decoded?
> Related: AFAIK most MUA also deal with 8bit headers (not compliant with MIME) treating them as if they were in the same charset of the body (recently this behavious has been added to Thunderbird too).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org