[
https://issues.apache.org/jira/browse/MIME4J-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17837473#comment-17837473
]
Chung dae hyun commented on MIME4J-328:
---------------------------------------
sorry.
I tested it on version 0.8.11, not version 0.7.2.
Please let me know if there is a more recent version.
Let's test it again.
> parse error
> -----------
>
> Key: MIME4J-328
> URL: https://issues.apache.org/jira/browse/MIME4J-328
> Project: James Mime4j
> Issue Type: Bug
> Components: parser (core)
> Affects Versions: 0.8.11
> Reporter: Chung dae hyun
> Priority: Major
> Attachments: DecoderUtilFunysalt.java
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When using the DecoderUtil.decodeEncodedWords function included in version
> 0.7.2
> Brokenness occurs when decoding the string below:
> ubject:
> =?utf-8?B?W1NQQU1dIFJlOiBbbWNsb3VkLWJhcmlzdGFdIO2BtOudvOyasOuTnOuwlOumrOyKpO2DgCA37LCoIO2WieyCrC3rsJztkQ==?=
> =?utf-8?B?nOyekOujjCDtj6zrqacg6rO17Jyg?=
> [SPAM] Re: [mcloud-barista] 클라우드바리스타 7차 행사-발��자료 포멧 공유
> Originally it should be parsed as follows:
> [SPAM] Re: [mcloud-barista] 클라우드바리스타 7차 행사-발표자료 포멧 공유
> The reason is that it needs to be parsed continuously as a stream byte, but
> the middle byte is lost when decoding each statement.
> I have attached the modified class, so please review and refactor it.
> ps : Added parsing as UTF-7 using the com.beetstra.jutf7 library.
> thank you
--
This message was sent by Atlassian Jira
(v8.20.10#820010)