[
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.
=?EUC-KR?B?W0NJTyC0ur26t7nFzV0gJ8DOx8G287W1IL26xbix3iEnIMfmuK6/7LXlwMcgv6S4rsauILWlwMzF?=
=?EUC-KR?B?zby+xc216Q==?=
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.
Thanks.
> 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