paul feigelfeld <00000@blicero.org> さんは書きました:
hello,
this is my first post, i know there are some similar posts in the archive, but i hope you forgive.
just yesterday i managed to get the chinese-py input method in emacs 21.4 working and am able to display big5 characters correctly, also when i re-open the file and set the language environment to chinese-big5. this took a long time and i am not really sure why it suddenly works, but it does.
since i want to create multilingual latex files, including classical greek and traditional chinese, i have to get cjk-latex working. i played around with it for some time and never get a clean compile. not to mention wrecked dvis. usually my .tex files are encoded in utf8 [ucs package loaded, as well as utf8 inputenc and T1 fontenc, intlfonts installed]. but when i create a sample .tex file with chinese, file -i file.tex tells me "charset=unknown" (even for the muletest.tex file included in the cjk package, which is displayed correctly in emacs, but won't compile either).
Looks like you save your files in emacs-mule-encoding and not
in UTF-8.
Save in UTF-8 instead:
M-x set-buffer-file-coding-system RET utf-8 RET
The type something to dirty the buffer and save.
To help Emacs to load the file in the correct encoding when you
edit the file again, make the first line of the file look like this:
% -*- coding: utf-8 -*-
This tells Emacs that the file is UTF-8 but as % is a comment in
LaTeX, it is ignored by LaTeX.
By the way, you need to have Mule-UCS installed to be able to use CJK
in UTF-8 with the Emacs in SuSE Linux 9.2.
If it still doesn't work, please show me a *small* sample file.
--
Mike FABIAN