Japanese \end{CJK}
hello
\begin{CJK}{GB}{}%
-Chinese simplified \end{CJK}\begin{CJK}{EUC-JP}{hei} Japanese \end{CJK} \begin{CJK}{GB}{}Chinese simplified
+Chinese simplified \end{CJK}\begin{CJK}{EUC-JP}{hei} Japanese
+(this CJK environment will be put in ERT because LyX supports only one CJK
+font mapping per document, this environment uses the \texttt{hei} mapping,
+and the first mapping is empty.\end{CJK} \begin{CJK}{GB}{}Chinese simplified
\end{CJK}
+% The following Bg5 encoded text cannot be processed as is by latex.
+% It needs to be preprocessed by bg5conv or bg5latex needs to be used.
+% See the documentation of CJK.sty for details.
+
\begin{CJK}{Bg5}{}
-Big5 文鼎楷書
+Big5 ¤å¹©·¢®Ñ
\end{CJK}
\inputencoding{latin9}%
\selectlanguage{english}%
English
+% The following SJIS encoded text cannot be processed as is by latex.
+% It needs to be preprocessed by sjisconv or sjislatex needs to be used.
+% See the documentation of CJK.sty for details.
+
\begin{CJK}{SJIS}{}
-Shift_JIS 日本語の文章
+Shift\_JIS \93ú\96{\8cê\82Ì\95¶\8fÍ
\end{CJK}
hello