zhouping
5 years ago
8 changed files with 139 additions and 0 deletions
@ -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 |
@ -0,0 +1 @@
|
||||
rfc822=smtp |
@ -0,0 +1,9 @@
|
||||
# JavaMail 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; |
||||
# JavaMail 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; |
||||
# JavaMail 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; |
@ -0,0 +1,16 @@
|
||||
# |
||||
# |
||||
# Default mailcap file for the JavaMail System. |
||||
# |
||||
# JavaMail content-handlers: |
||||
# |
||||
text/plain;; x-java-content-handler=com.sun.mail.handlers.text_plain |
||||
text/html;; x-java-content-handler=com.sun.mail.handlers.text_html |
||||
text/xml;; x-java-content-handler=com.sun.mail.handlers.text_xml |
||||
multipart/*;; x-java-content-handler=com.sun.mail.handlers.multipart_mixed; x-java-fallback-entry=true |
||||
message/rfc822;; x-java-content-handler=com.sun.mail.handlers.message_rfc822 |
||||
# |
||||
# can't support image types because java.awt.Toolkit doesn't work on servers |
||||
# |
||||
#image/gif;; x-java-content-handler=com.sun.mail.handlers.image_gif |
||||
#image/jpeg;; x-java-content-handler=com.sun.mail.handlers.image_jpeg |
@ -0,0 +1,9 @@
|
||||
# |
||||
# This is a very simple 'mailcap' file |
||||
# |
||||
# No default viewers are included so these entries are commented out. |
||||
# |
||||
#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 |
@ -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 |
Loading…
Reference in new issue