[XeTeX] Japanese Characters in PDF do not match thosein source file.

Wilfred van Rooijen wvanrooijen at yahoo.com
Fri Aug 20 09:42:09 CEST 2010


When I open your file in gedit, I get an error message that the file is not in UTF-8 and cannot be opened with any of the "default encodings". If I switch to UTF-16 manually I can open the file but it looks very strange: there are no control sequences, and while CJK characters show up, they look much more like traditional Chinese than kanji. Also, several boxes with "unknown unicode characters" show up. So I expect something your with the encoding of your input file.


--- On Fri, 20/8/10, Andrew A. Adams <aaa at meiji.ac.jp> wrote:

> From: Andrew A. Adams <aaa at meiji.ac.jp>
> Subject: [XeTeX] Japanese Characters in PDF do not match thosein source file.
> To: xetex at tug.org
> Date: Friday, 20 August, 2010, 1:06 PM
> I recently upgraded my Fedora Core 10 to Fedora Core 13.
> I'm getting a very 
> strange behaviour from processing latex files including
> Japanese text and 
> processed using xelatex. I've created a minimal input
> source file which 
> demonstrates the problem, which is that the unicode
> characters in the input 
> file are not the ones that appear in the output. It's
> possible that somehow 
> I'm getting Chinese characters instead of the Japanese ones
> in my original 
> file. I create my files in xemacs, and set the buffer
> encoding to UTF-8. I 
> use a script to process the file using xelatex with my
> default options:
> xelatex -interaction=nonstopmode -output-driver="xdvipdfmx
> -p a4 -V5 " $1.tex 
> && acroread -tempFile $1.pdf
> Attached are the sample tex file, the resulting output
> file, the log file 
> from manual xelatex processing and the output from manual
> xdvipdfmx 
> processing.
> Sorry if this is an xdvpdfmx problem and I should be
> sending my queries over 
> there instead.
> -- 
> Professor Andrew A Adams         
>             aaa at meiji.ac.jp
> Professor at Graduate School of Business
> Administration,  and
> Deputy Director of the Centre for Business Information
> Ethics
> Meiji University, Tokyo, Japan   
>    http://www.a-cubed.info/
> -----Inline Attachment Follows-----
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex

More information about the XeTeX mailing list