james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "changwan lim (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] [Commented] (MIME4J-216) 8bit character broken when parsing multi-line encoded subject
Date Tue, 26 Jun 2012 02:10:44 GMT

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

changwan lim commented on MIME4J-216:

Hi Stefano.
First, please understand my poor english.

I'm testing now and find out more detail information. Actually it seems to occured since bytes
of complete character(2-byte) is across first line to next line like below.

The only solution I think is that parse it after combining encoded string of first line and
encoded string of next line.
There is always issues to parse mime message containing 2-byte character.

> 8bit character broken when parsing multi-line encoded subject
> -------------------------------------------------------------
>                 Key: MIME4J-216
>                 URL: https://issues.apache.org/jira/browse/MIME4J-216
>             Project: JAMES Mime4j
>          Issue Type: Bug
>          Components: parser (core)
>    Affects Versions: 0.7.1
>            Reporter: changwan lim
> Parsing multi-line encoded subject using org.apache.james.mime4j.codec.DecoderUtil.decodeEncodedWords(),
decoded 8bit character is broken.
> Exactly broken character is between last character of first line and first charcter of
second line.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message