In my thesis (my first real project with LaTeX), I need Japanese and some Russian characters. I divided my thesis by submodules. My main module looks as follows:
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{CJK}
\includeonly{spis_tresci}
\begin{document}
% Definition of title and author
\title{ My Thesis title. }
\author{Mazeryt Freager \\
\\
\begin{CJK*}{UTF8}{min}
一部の日本人のもの
\end{CJK*}
\\ śćóœ}
\maketitle
\clearpage
\input{Table_of_Contents}
\end{document}
And the above code works perfectly. The problem is in submodule "Table of Contents"
\section{Table_of_Contents}
%When I add here something more than ASCI code I got into compilation failure
%No mather if it is:
%\begin{CJK*}{UTF8}{min}
%一部の日本人のもの
%\end{CJK*}
%\\ śćóœ}
abcdefghijklmnoprstuwxyzABCDEFGHIJKLMNOPRSTUWXYZ
%but standard ASCI works
I search a lot about this but I didn't find any solution that works for me. Any idea?


}on the third line - just a copy paste error, but will throw you off at this point. – greyshade Aug 10 '14 at 08:14\usepackageafter\begin{document}; nor you can enable and disableCJK; by the way, you should useCJKutf8. – egreg Aug 10 '14 at 09:42