I want to write 鋼の錬金術師 (aka "Alchemist of Steel") is latex. I have the CJK package but just a simple copy and paste of the above kanji to gvim does not do the trick. The code I have is
\begin{CJK*}[dnp]{JIS}{min}
Fullmetal Alchemist (鋼の錬金術師 Hagane no Renkinjutsushi, literally "Alchemist of Steel")
\end{CJK*}\end{document}
What I get is the error:
./preface.tex:56: Package CJK Error: Invalid character code.
I may have missed something vital though... Anyone has any idea?
{UTF8}instead of{JIS}to get rid of thePackage Error(but I have no idea whether or not you need to set up fonts) – Taco Hoekwater Jul 28 '11 at 11:04euc-jis-2004(that's Emacs slang for JIS-2004), the output is correct. – egreg Jul 28 '11 at 11:57