[
https://issues.apache.org/jira/browse/MIME4J-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17837554#comment-17837554
]
Benoit Tellier commented on MIME4J-329:
---------------------------------------
On that one I am skeptical.
Apparently adding:
{code:java}
<dependency>
<groupId>com.beetstra.jutf7</groupId>
<artifactId>jutf7</artifactId>
<version>1.0.0</version>
</dependency>
{code}
Is enough to pass the following test:
{code:java}
@Test
public void utf7ShouldBeSupported() {
Assert.assertEquals("RE: [팍트라-범주TLS] 루마니아 CONSTANTA 스케쥴 문의",
DecoderUtil.decodeEncodedWords("=?utf-7?B?UkU6ICtBRnZURGRLNHQzdy0tK3ZKVEkvQS1UTFMrQUYwLSArdU9pNXlMTEl4VVEt?=\n"
+
"=?utf-7?B?IENPTlNUQU5UQSArd3FUUEFNbDAtICt1empIV0Et?="));
}
{code}
Jutf7 registers utf-7 charset using Java SPI.
While not supported in the core mime4j library, it is really easy to actually
support utf-7 in a pluggable manner.
On the counter side, the community had been historically very reluctant adding
dependencies in what is considered a widely used library. Adding a dependency
will likely not be appreciated, especially if alternatives exists.
I do think however that we could document how to support utf-7 decoding
somewhere onto the mime4j website / doc.
What do you think?
> UTF-7 적용 요청
> -----------
>
> Key: MIME4J-329
> URL: https://issues.apache.org/jira/browse/MIME4J-329
> Project: James Mime4j
> Issue Type: Improvement
> Components: parser (core)
> Reporter: Chung dae hyun
> Priority: Major
> Attachments: DecoderUtilFunysalt.java
>
>
> Occasionally, emails encoded using UTF-7 are found among emails sent from
> Outlook.
> Please consider adding utf-7.
> utf-7?B?K3lIREdxZFhNLQ==?= <[email protected]>
> To: "'W.B. Cho / BUMJOO TLS'" <[email protected]>
> Cc: <[email protected]>,
> <[email protected]>
> References:
> +ADw-00ee01da5335+ACQ-80d51030+ACQ-827f3090+ACQAQA-bumjoo.co.kr+AD4-
> In-Reply-To: <[email protected]>
> Subject:
> =?utf-7?B?UkU6ICtBRnZURGRLNHQzdy0tK3ZKVEkvQS1UTFMrQUYwLSArdU9pNXlMTEl4VVEt?=
> =?utf-7?B?IENPTlNUQU5UQSArd3FUUEFNbDAtICt1empIV0Et?=
>
> https://issues.apache.org/jira/browse/MIME4J-328
> There is a modified source in that link.
> Thank you
--
This message was sent by Atlassian Jira
(v8.20.10#820010)