help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnu Emacs under Japanese MS Windows


From: Eli Zaretskii
Subject: Re: Gnu Emacs under Japanese MS Windows
Date: Fri, 09 Nov 2007 12:21:01 +0200

> From: Ben Bullock <benkasminbullock@gmail.com>
> Date: Thu, 08 Nov 2007 17:02:51 -0800
> 
> Does anyone know how to get Gnu Emacs to recognize Japanese characters
> properly? There seem to be a lot of bugs. For example when I start Gnu
> Emacs and try to open a new file, it correctly prints out
> 
> Find file: c:/Documents and Settings/bkb/デスクトップ
> 
> but then when I press "tab" it says that it can't find any files,
> indicating that it simply doesn't recognize its own printout of the
> directory. Going up one directory and then looking at c:/Documents and
> Settings/bkb/ reveals that the desktop directory is mojibaked into
> 
> c:/Documents and Settings/bkb/\203f\203X\203N\203g\203b\203v/
> 
> I can open files in this directory OK but all the file names are
> mojibaked.

Try setting the value of file-name-coding-system to something Japanes,
like japanese-shift-jis.

> The Gnu Emacs on Windows FAQ
> 
> http://www.gnu.org/software/emacs/windows/big.html
> 
> says that I should add a line to .emacs
> 
> (set-w32-system-coding-system 'japanese-shift-jis)
> 
> but it seems to do no good at all.

Right, because set-w32-system-coding-system is for font names, not
file names (as the FAQ says).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]