Charset workarounds

This commit is contained in:
M66B 2020-03-22 09:32:17 +01:00
parent d8206d6115
commit b47c78c44c
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ public class UnknownCharsetProvider extends CharsetProvider {
// UseInqueCodePage
// ISO3166-1
// EUCGB2312_CN
// WE8MSWIN1252
// https://javaee.github.io/javamail/FAQ#unsupen
// https://github.com/javaee/javamail/blob/master/mail/src/main/resources/META-INF/javamail.charset.map
try {
@ -69,6 +70,7 @@ public class UnknownCharsetProvider extends CharsetProvider {
name.startsWith("ISO8859") ||
name.startsWith("ISO-8859") ||
name.startsWith("WINDOWS-1252") ||
name.startsWith("WİNDOWS-1254") ||
"x-IA5".equalsIgnoreCase(name) ||
"BASE64".equalsIgnoreCase(name) ||
"ISO".equalsIgnoreCase(name) ||