guess_input_kanji_encoding = 1
\documentclass{jsbook}
\begin{document}
\input{sjis.tex}
\input{utf8.tex}
\end{document}
sjis.tex (Shift_JIS)
「数学ガール」シリーズは\LaTeX2e{}で書かれています。
utf8.tex (UTF-8)
「数学ガールの秘密ノート」シリーズも\LaTeX2e{}で書かれています。
C:\sandbox> platex sample.tex
This is e-pTeX, Version 3.1415926-p3.4-110825-2.6 (sjis) (TeX Live 2013/W32TeX)
restricted \write18 enabled.
entering extended mode
(./sample.tex
pLaTeX2e <2006/11/10> (based on LaTeX2e <2011/06/27> patch level 0)
Babel <3.9f> and hyphenation patterns for 78 languages loaded.
(c:/texlive/2013/texmf-dist/tex/platex/jsclasses/jsbook.cls(guessed encoding: UTF-8 = utf8)
Document Class: jsbook 2013/05/14 okumura
) (./sample.aux) (./sjis.tex(guessed encoding: Shift_JIS = sjis)) (./utf8.tex(guessed encoding: UTF-8 = utf8)) [1] (./sample.aux) )
Output written on sample.dvi (1 page, 612 bytes).
Transcript written on sample.log.
C:\sandbox> dvipdfmx sample.dvi
sample.dvi -> sample.pdf
[1]
3557 bytes written