# funky names for UTF charsets
utf8                utf-8
utf7                utf-7
unicode-1-1-utf-8   utf-8
unicode-1-1-utf-7   utf-7
imap-utf-7          IMAP-mailbox-name

# even ASCII is not exempt
ascii               us-ascii
ANSI_X3.4-1968      us-ascii
usascii             us-ascii

# Yes, the world does contain a lot of rubbish
# ways of saying iso-8859-1.
# And according to WHATWG Encoding they mean
# windows-1252 for websites and emails:
# https://encoding.spec.whatwg.org/#names-and-labels
iso-8859-1          windows-1252
ISO_8859_1          windows-1252
ISO_8859-1          windows-1252
ISO_8859            windows-1252
ISO-8859            windows-1252
8859_1              windows-1252
iso--8859-1         windows-1252
so-8859-1           windows-1252
en_GB               windows-1252
auto                windows-1252
unknown             windows-1252
unknown-8bit        windows-1252
x-unknown           windows-1252
x-user-defined      windows-1252
x-europa            windows-1252
none                windows-1252
latin1              windows-1252
ISO8859-1           windows-1252
8859-1              windows-1252
es-windows-1252     windows-1252
DISPLAY             windows-1252
Any                 windows-1252

x-mac-roman         macintosh
mac                 macintosh
csmacintosh         macintosh


# sort-of - see Filter::Trigraph
646                 iso-8859-1
ISO646-US           iso-8859-1

# other aliases
8859_2              iso-8859-2
x-mac-turkish       iso-8859-9
greek-ccitt         iso-8859-7
iso-8859-8-i        iso-8859-8
ISO8859_15_FDIS     iso-8859-15
ISO8859-15          iso-8859-15
tis-620             iso-8859-11
x-mac-thai          iso-8859-11
ASMO-708            iso-8859-6
WIN-KOI8            koi8-r
KOI8-R              koi8-r
KOI8-U              koi8-u
_iso-2022-jp$ESC    iso-2022-jp
_iso-2022-jp        iso-2022-jp
csISO2022JP         iso-2022-jp
ks_c_5601           ksc5601

# windows codepages - these are the ones we have
1250                windows-1250
cp1250              windows-1250
win-1250            windows-1250

1251                windows-1251
cp1251              windows-1251
win-1251            windows-1251

1252                windows-1252
cp1252              windows-1252
cp-1252             windows-1252
win-1252            windows-1252

1254                windows-1254
cp1254              windows-1254
win-1254            windows-1254

1255                windows-1255
cp1255              windows-1255
win-1255            windows-1255

1256                windows-1256
cp1256              windows-1256
win-1256            windows-1256
win1256             windows-1256

1257                windows-1257
cp1257              windows-1257
win-1257            windows-1257

1258                windows-1258
cp1258              windows-1258
win-1258            windows-1258

cp850               windows-850
CP850               windows-850
cp-850              windows-850
CP-850              windows-850
dos-latin1          windows-850
msdos-latin1        windows-850

cp932               windows-31j
CP932               windows-31j
cp-932              windows-31j
CP-932              windows-31j
win-31j             windows-31j

# Shift_JIS comes in multiple variants, of which the most
# popular is windows-31j.
# https://www.iana.org/assignments/charset-reg/shift_jis
Shift_JIS           windows-31j
shift_jis           windows-31j
SHIFT_JIS           windows-31j

cp936               windows-936
CP936               windows-936
cp-936              windows-936
CP-936              windows-936
win-936             windows-936

# Mixed up charset vs codepage
238                  windows-1250
136                  big5

# GBK has multiple variants, of which codepage 936 is the
# most popular.
# https://www.iana.org/assignments/charset-reg/GBK
gbk                 windows-936
GBK                 windows-936
x-gbk               windows-936
gb2312              windows-936

# stuff from the FastMail Perl mapping or logs that we
# don't have support for in Cyrus
#UTS-16              UCS-2BE
#5601                ksc5601-raw
#ksc5601             ksc5601-raw
#ks_c_5601           ksc5601-raw

# https://en.wikipedia.org/wiki/Extended_Unix_Code
#euc-jp
#euc-kr
#Euc-Kr
#EUC-KR

# https://en.wikipedia.org/wiki/GB_18030
#gb18030
