summaryrefslogtreecommitdiffstats
path: root/mailnews/intl/charsetalias.properties
blob: b3edb83b9904f9ff3bc429628d02cc2041aa4474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Rule of this file:
# 1. key should always be in lower case ascii so we can do case insensitive
#    comparison in the code faster.
# 2. value should be the one used in unicode converter
# 3. If the charset is not used for document charset, but font charset
#    (e.g. XLFD charset- such as JIS x0201, JIS x0208), don't put here
#
# This file contains mainly aliases. Actual labels for encodings are in
# labelsencodings.properties. Besides aliases it contains labels for charsets
# that are not part of the HTML5 world, but still are supported for e-mail.

646=windows-1252
iso-8859-1=ISO-8859-1
utf-16=UTF-16
utf-7=UTF-7

# Netscape private ...
x-imap4-modified-utf7=x-imap4-modified-utf7
x-mac-ce=x-mac-ce
x-mac-turkish=x-mac-turkish
x-mac-greek=x-mac-greek
x-mac-icelandic=x-mac-icelandic
x-mac-croatian=x-mac-croatian
x-mac-romanian=x-mac-romanian
x-mac-hebrew=x-mac-hebrew
x-mac-arabic=x-mac-arabic
x-mac-farsi=x-mac-farsi
x-mac-devanagari=x-mac-devanagari
x-mac-gujarati=x-mac-gujarati
x-mac-gurmukhi=x-mac-gurmukhi
iso-10646-ucs-2=UTF-16BE
x-iso-10646-ucs-2-be=UTF-16BE
x-iso-10646-ucs-2-le=UTF-16LE

# Aliases for ISO-8859-1
latin1=ISO-8859-1
iso_8859-1=ISO-8859-1
iso8859-1=ISO-8859-1
iso_8859-1:1987=ISO-8859-1
iso-ir-100=ISO-8859-1
l1=ISO-8859-1
cp819=ISO-8859-1
csisolatin1=ISO-8859-1

# Aliases for ISO-8859-8-I
iso-8859-8i=ISO-8859-8-I

# Aliases for Shift_JIS
cp932=Shift_JIS

# Aliases for ISO-2022-JP
# The following are really not aliases ISO-2022-JP, but sharing the same decoder
iso-2022-jp-2=ISO-2022-JP
csiso2022jp2=ISO-2022-JP

# Aliases for Big5
# x-x-big5 is not really a alias for Big5, add it only for MS FrontPage
# Sun Solaris

zh_tw-big5=Big5

# Aliases for EUC-KR
5601=EUC-KR

# Aliases for windows-874 
tis620=windows-874

# Aliases for IBM866
cp-866=IBM866

# Aliases for UTF-7
x-unicode-2-0-utf-7=UTF-7
unicode-2-0-utf-7=UTF-7
unicode-1-1-utf-7=UTF-7
csunicode11utf7=UTF-7

# Aliases for ISO-10646-UCS-2
csunicode=UTF-16BE
csunicode11=UTF-16BE
iso-10646-ucs-basic=UTF-16BE
csunicodeascii=UTF-16BE
iso-10646-unicode-latin1=UTF-16BE
csunicodelatin1=UTF-16BE
iso-10646=UTF-16BE
iso-10646-j-1=UTF-16BE

# Following names appears in unix nl_langinfo(CODESET)
# They can be compiled as platform specific if necessary
# DONT put things here if it does not look generic enough (like hp15CN)
iso88591=ISO-8859-1
iso885912=ISO-8859-12
windows-936=gbk
ansi-1251=windows-1251

cp936=gbk