--- a
+++ b/third-party/javax.mail/META-INF/javamail.charset.map
@@ -0,0 +1,67 @@
+### JDK-to-MIME charset mapping table ####
+### This should be the first mapping table ###
+
+8859_1 ISO-8859-1
+iso8859_1 ISO-8859-1
+ISO8859-1 ISO-8859-1
+
+8859_2 ISO-8859-2
+iso8859_2 ISO-8859-2
+ISO8859-2 ISO-8859-2
+
+8859_3 ISO-8859-3
+iso8859_3 ISO-8859-3
+ISO8859-3 ISO-8859-3
+
+8859_4 ISO-8859-4
+iso8859_4 ISO-8859-4
+ISO8859-4 ISO-8859-4
+
+8859_5 ISO-8859-5
+iso8859_5 ISO-8859-5
+ISO8859-5 ISO-8859-5
+
+8859_6 ISO-8859-6
+iso8859_6 ISO-8859-6
+ISO8859-6 ISO-8859-6
+
+8859_7 ISO-8859-7
+iso8859_7 ISO-8859-7
+ISO8859-7 ISO-8859-7
+
+8859_8 ISO-8859-8
+iso8859_8 ISO-8859-8
+ISO8859-8 ISO-8859-8
+
+8859_9 ISO-8859-9
+iso8859_9 ISO-8859-9
+ISO8859-9 ISO-8859-9
+
+SJIS Shift_JIS
+JIS ISO-2022-JP
+ISO2022JP ISO-2022-JP
+EUC_JP euc-jp
+KOI8_R koi8-r
+EUC_CN euc-cn
+EUC_TW euc-tw
+EUC_KR euc-kr
+
+--DIVIDER: this line *must* start with "--" and end with "--" --
+
+#### XXX-to-JDK charset mapping table ####
+
+iso-2022-cn ISO2022CN
+iso-2022-kr ISO2022KR
+utf-8 UTF8
+utf8 UTF8
+ja_jp.iso2022-7 ISO2022JP
+ja_jp.eucjp EUCJIS
+
+# these two are not needed in 1.1.6. (since EUC_KR exists
+# and KSC5601 will map to the correct converter)
+euc-kr KSC5601
+euckr KSC5601
+
+# in JDK 1.1.6 we will no longer need the "us-ascii" convert
+us-ascii ISO-8859-1
+x-us-ascii ISO-8859-1