+# For korean
+Encoding euc-kr KS EUC-KR variable CJK
+End
+
+# The CJK package has yet another name for utf8...
+Encoding utf8-cjk UTF8 UTF-8 variable CJK
+End
+
+# For traditional chinese
+Encoding euc-tw EUC-TW EUC-TW variable CJK
+End
+
+# For japanese
+Encoding euc-jp EUC-JP EUC-JP variable CJK
+End
+
+# encodings that do not use a package
+
+# Traditional Japanese TeX programs require neither CJK nor inputenc
+# package.
+Encoding euc-jp-plain EUC-JP-plain EUC-JP variable none
+End
+Encoding jis-plain JIS-plain JIS variable none
+End
+# The SJIS encoding can't be taken as is, therefore it is disabled here
+# as long as someone build in the needed conversion, described here:
+# http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg129935.html
+#Encoding shift-jis-plain SJIS-plain SJIS variable none
+#End
+
+# This one needs hardcoded support, since the inputenc package does not know
+# tis620-0, and thailatex sets up babel directly to use tis620-0, so the
+# LaTeX name is never output to .tex files (but needed for the hardcoded
+# tis620-0 support).
+Encoding tis620-0 tis620-0 TIS620-0 fixed none
+End
+
+# A plain utf8 encoding that does not use the inputenc package.
+# Such an encoding is required for XeTeX.
+Encoding utf8-plain utf8-plain UTF-8 variable none