-# 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 value
-# for inputenc is never output to .tex files (but needed for the hardcoded
-# tis620-0 support).
-Encoding tis620-0 tis620-0 TIS620-0
+Encoding pt154 pt154 PT154 fixed inputenc
+End
+
+Encoding pt254 pt254 PT254 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.
+
+# The following encodings can't be handled directly, because the code points
+# of TeX control characters like {, } and \ can occur in the second byte:
+
+# For traditional chinese
+#Encoding big5 Bg5 BIG5 variable CJK
+#End
+
+# For japanese
+#Encoding shift-jis SJIS SJIS variable 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 EUC-CN variable CJK