Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.11
-
None
Description
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