[
https://issues.apache.org/jira/browse/JAMES-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed JAMES-4000.
---------------------------------
Resolution: Won't Fix
In the end a configurable default charset was doing it for us.
So far I would consider guessing the charset overkill and not really needed.
As such, closing, but if you want this feel free to reopen.
> JMAP should guess charset of text parts when missing
> ----------------------------------------------------
>
> Key: JAMES-4000
> URL: https://issues.apache.org/jira/browse/JAMES-4000
> Project: James Server
> Issue Type: Improvement
> Affects Versions: 3.8.0, 3.8.1
> Reporter: René Cordier
> Priority: Major
> Fix For: 3.9.0
>
> Attachments: jmap-charset-missing.png
>
>
> Given an email with a text part without charset
> {code:java}
> ------------=_1706602778-31669-7
> Content-Type: text/plain; name="avertissement.txt"
> Content-Disposition: inline; filename="avertissement.txt"
> Content-Transfer-Encoding: base64
> Q2UgbWVzc2FnZSDpbGVjdHJvbmlxdWUgZXQgdG91cyBsZXMgZmljaGllcnMgYXR0YWNo6XMgcXUn
> aWwgY29udGllbnQgc29udCBjb25maWRlbnRpZWxzIGV0IGRlc3RpbulzIGV4Y2x1c2l2ZW1lbnQg
> {code}
>
> Today James fails at rendering this properly (cf attachment)
> This is because we uses `US_ASCII` as a default when no charset is specified.
> Suggestion: we should rather "guess" the charset when that's the case:
> [https://github.com/albfernandez/juniversalchardet]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]