Revision control

Copy as Markdown

Other Tools

# 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.
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.
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:
# 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=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:
cp874=windows-874
cp932=Shift_JIS
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
zh_tw-big5=Big5
# Aliases for EUC-KR
# Added for Solaris ns_langinfo. Unlikely relevant to email.
5601=EUC-KR
x-windows-949=EUC-KR
# Aliases for windows-874
# Added originally for nl_langinfo reasons but could plausibly be sent
# by JavaMail.
tis620=windows-874
# Aliases for IBM866
# This alias may have been made up by accident and may
# not be relevant to real-world email.
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
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
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
windows-936=GBK
# Added for Solaris ns_langinfo(). Unlikely to be relevant to email.
ansi-1251=windows-1251