+Encoding cp1257 cp1257 "Baltic (CP 1257)" CP1257 fixed inputenc
+End
+
+# from http://www.ctan.org/pkg/latex-cyrillic
+Encoding koi8-r koi8-r "Cyrillic (KOI8-R)" KOI8-R fixed inputenc
+End
+
+# from http://www.ctan.org/pkg/latex-cyrillic
+Encoding koi8-u koi8-u "Cyrillic (KOI8-U)" KOI8-U fixed inputenc
+End
+
+# from http://www.ctan.org/pkg/latex-cyrillic
+Encoding pt154 pt154 "Cyrillic (pt 154)" PT154 fixed inputenc
+End
+
+# encodings used by CJK.sty
+
+# The following encodings that are supported by the CJK package are not
+# included here, because they are not widely used and lack proper iconv support:
+# Bg5+, GBt
+# See the NOTES file of libiconv for details.
+
+# For traditional chinese
+Encoding big5 Bg5 "Chinese (traditional) (Big5)" BIG5 variableunsafe CJK
+End
+
+# For japanese
+# We use CP932 and not SJIS, since it is a super set of SJIS except that it
+# translates SJIS 0x5c to U+005C (REVERSE SOLIDUS aka backslash) instead of
+# U+00A5 (YEN SIGN). Strictly speaking this is wrong, but there is a long
+# standing confusion which translation is correct, and using CP932 is also
+# consistent with the SJIS example file <texmf>/doc/latex/cjk/examples/SJIS.tex
+# of the CJK package. The CP932 extensions over SJIS do not matter here.
+Encoding shift-jis SJIS "Japanese (CJK) (SJIS)" CP932 variableunsafe CJK
+End
+
+# The following encodings need hardcoded support of the encodable unicode
+# range, but are known by iconv:
+
+# For simplified chinese
+Encoding euc-cn GB "Chinese (simplified) (EUC-CN)" EUC-CN variable CJK
+End
+
+# For simplified chinese
+Encoding gbk GBK "Chinese (simplified) (GBK)" GBK variable CJK
+End
+
+# For japanese
+Encoding jis JIS "Japanese (CJK) (JIS)" ISO-2022-JP variable CJK
+End
+
+# For korean
+Encoding euc-kr KS "Korean (EUC-KR)" EUC-KR variable CJK
+End
+
+# The CJK package has yet another name for utf8...
+Encoding utf8-cjk UTF8 "Unicode (CJK) (utf8)" UTF-8 variable CJK
+End
+
+# For traditional chinese
+Encoding euc-tw EUC-TW "Chinese (traditional) (EUC-TW)" EUC-TW variable CJK
+End
+
+# For japanese
+Encoding euc-jp EUC-JP "Japanese (CJK) (EUC-JP)" EUC-JP variable CJK
+End
+
+# encodings that do not use a package
+
+# Traditional Japanese TeX programs require the japanese package.
+# that is incompatible with CJK and inputenc.
+Encoding euc-jp-platex euc "Japanese (pLaTeX) (EUC-JP)" EUC-JP variable japanese
+End
+Encoding jis-platex jis "Japanese (pLaTeX) (JIS)" ISO-2022-JP variable japanese
+End
+Encoding shift-jis-platex sjis "Japanese (pLaTeX) (SJIS)" CP932 variable japanese
+End
+Encoding utf8-platex utf8 "Japanese (pLaTeX) (UTF8)" UTF-8 variable japanese