summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/intl/charsetalias.properties
blob: 1ef5e52ee28eb16115ff4c1f382ae52388b2dbcb (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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# 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 _name_ used in the WHATWG Encoding Standard
#    https://encoding.spec.whatwg.org/ (of "UTF-7" for UTF-7).
#
# This file contains email-specific labels. Web-relevant labels for
# encodings are in the Encoding Standard / encoding_rs.

# Added for Solaris ns_langinfo. Unlikely relevant to email.
# https://bugzilla.mozilla.org/show_bug.cgi?id=77300#c9
646=windows-1252

# Aliases for ISO-8859-8-I
# From the original IBM bidi patch.
iso-8859-8i=ISO-8859-8-I

# ISO 8859 series with underscore for JavaMail
# compat.
# https://bugzilla.mozilla.org/show_bug.cgi?id=820767
iso8859_1=windows-1252
iso8859_2=ISO-8859-2
iso8859_3=ISO-8859-3
iso8859_4=ISO-8859-4
iso8859_5=ISO-8859-5
iso8859_6=ISO-8859-6
iso8859_7=ISO-8859-7
# Unclear if 8 with underscore was visual or not
iso8859_9=windows-1254
# No evidence of 10 occurring with underscore
# 11 is tis620
# 12 does not exist
iso8859_13=ISO-8859-13
# No evidence of 14 occurring with underscore
iso8859_15=ISO-8859-15
# No evidence of 16 occurring with underscore

koi8r=KOI8-R

# Code pages shared by DOS and Windows with ms prefix.
# Evidence of this pattern in the wild:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1120813
# Plausible cause: JavaMail
# The ms prefix as used by Sun is not relevant to windows-125x series
ms874=windows-874
# ms932 was added to the Encoding Standard as one-off Thunderbird request
# MS936 shows up at https://www.iana.org/assignments/character-sets/character-sets.xhtml
ms936=GBK
ms949=EUC-KR
ms950=Big5
ms950_hkscs=Big5

# Underscore versions of Unix CJK encodings.
# No evidence of these in the wild, but these could plausibly
# occur for the same reason as the above two groups.
euc_cn=GBK
euc_kr=EUC-KR
euc_jp=EUC-JP
big5_hkscs=Big5

# Code pages shared by DOS and Windows with cp prefix
# cp125x series are in the Encoding Standard
# Evidence of the pattern in the wild:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1511950
# https://bugzilla.mozilla.org/show_bug.cgi?id=542823
# https://bugzilla.mozilla.org/show_bug.cgi?id=1217161
cp874=windows-874
cp932=Shift_JIS
# CP936 shows up at https://www.iana.org/assignments/character-sets/character-sets.xhtml
cp936=GBK
cp949=EUC-KR
cp950=Big5

# Aliases for ISO-2022-JP
# The following are really not aliases ISO-2022-JP, but sharing the same decoder
# Kept mainly for compat with old Apple Mail.
iso-2022-jp-2=ISO-2022-JP
csiso2022jp2=ISO-2022-JP
# A Google search suggests the variant without hyphens has been used with
# JavaMail.
iso2022jp=ISO-2022-JP

# Aliases for Big5
# Added in patch that generally meant to support emails sent by
# dtmail on Sun Solaris
# https://bugzilla.mozilla.org/show_bug.cgi?id=146287
zh_tw-big5=Big5

# Aliases for EUC-KR
# Added for Solaris ns_langinfo. Unlikely relevant to email.
# https://bugzilla.mozilla.org/show_bug.cgi?id=82075
5601=EUC-KR
# https://bugzilla.mozilla.org/show_bug.cgi?id=234958
x-windows-949=EUC-KR

# Aliases for windows-874
# Added originally for nl_langinfo reasons but could plausibly be sent
# by JavaMail.
# https://bugzilla.mozilla.org/show_bug.cgi?id=101295
tis620=windows-874

# Aliases for IBM866
# This alias may have been made up by accident and may
# not be relevant to real-world email.
# https://bugzilla.mozilla.org/show_bug.cgi?id=77588
cp-866=IBM866

# Aliases for UTF-7
utf-7=UTF-7
# The below 4 aliases were not in Thunderbird 60, and there were
# no complaints.
# This alias appears to have been generated by the email part
# of the Netscape 4.0 suite per http://jkorpela.fi/chars.html
x-unicode-2-0-utf-7=UTF-7
# This appears to be just a made-up non-x version of the above
# (checked in without bug number).
unicode-2-0-utf-7=UTF-7
# The two aliases below show up at
# https://www.iana.org/assignments/character-sets/character-sets.xhtml
unicode-1-1-utf-7=UTF-7
csunicode11utf7=UTF-7

# The below aliases were not in Thunderbird 60, and there were
# no complaints.
# These aliases show up at
# https://www.iana.org/assignments/character-sets/character-sets.xhtml
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
iso-10646-ucs-2=UTF-16BE
# Netscape aliases checked in without bug number.
# Possibly meant to be Netscape-private.
x-iso-10646-ucs-2-be=UTF-16BE
x-iso-10646-ucs-2-le=UTF-16LE

# Shows up at https://www.iana.org/assignments/character-sets/character-sets.xhtml
# https://bugzilla.mozilla.org/show_bug.cgi?id=651113
windows-936=GBK

# Added for Solaris ns_langinfo(). Unlikely to be relevant to email.
# https://bugzilla.mozilla.org/show_bug.cgi?id=82075
ansi-1251=windows-1251