-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b22369c
commit 2273523
Showing
7 changed files
with
121 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
### 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 | ||
|
||
# Chinese charsets are a mess and widely misrepresented. | ||
# gb18030 is a superset of gbk, which is a supserset of cp936/ms936, | ||
# which is a superset of gb2312. | ||
# https://bugzilla.gnome.org/show_bug.cgi?id=446783 | ||
# map all of these to gb18030. | ||
gb2312 GB18030 | ||
cp936 GB18030 | ||
ms936 GB18030 | ||
gbk GB18030 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rfc822=smtp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Jakarta Mail IMAP provider Oracle | ||
protocol=imap; type=store; class=com.sun.mail.imap.IMAPStore; vendor=Oracle; | ||
protocol=imaps; type=store; class=com.sun.mail.imap.IMAPSSLStore; vendor=Oracle; | ||
# Jakarta Mail SMTP provider Oracle | ||
protocol=smtp; type=transport; class=com.sun.mail.smtp.SMTPTransport; vendor=Oracle; | ||
protocol=smtps; type=transport; class=com.sun.mail.smtp.SMTPSSLTransport; vendor=Oracle; | ||
# Jakarta Mail POP3 provider Oracle | ||
protocol=pop3; type=store; class=com.sun.mail.pop3.POP3Store; vendor=Oracle; | ||
protocol=pop3s; type=store; class=com.sun.mail.pop3.POP3SSLStore; vendor=Oracle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# This is a very simple 'mailcap' file | ||
# | ||
image/gif;; x-java-view=com.sun.activation.viewers.ImageViewer | ||
image/jpeg;; x-java-view=com.sun.activation.viewers.ImageViewer | ||
text/*;; x-java-view=com.sun.activation.viewers.TextViewer | ||
text/*;; x-java-edit=com.sun.activation.viewers.TextEditor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# A simple, old format, mime.types file | ||
# | ||
text/html html htm HTML HTM | ||
text/plain txt text TXT TEXT | ||
image/gif gif GIF | ||
image/ief ief | ||
image/jpeg jpeg jpg jpe JPG | ||
image/tiff tiff tif | ||
image/png png PNG | ||
image/x-xwindowdump xwd | ||
application/postscript ai eps ps | ||
application/rtf rtf | ||
application/x-tex tex | ||
application/x-texinfo texinfo texi | ||
application/x-troff t tr roff | ||
audio/basic au | ||
audio/midi midi mid | ||
audio/x-aifc aifc | ||
audio/x-aiff aif aiff | ||
audio/x-mpeg mpeg mpg | ||
audio/x-wav wav | ||
video/mpeg mpeg mpg mpe | ||
video/quicktime qt mov | ||
video/x-msvideo avi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters