From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Gnu Emacs under Japanese MS Windows Date: Fri, 09 Nov 2007 12:21:01 +0200 Message-ID: References: <1194570171.261210.234480@y27g2000pre.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1194603705 13235 80.91.229.12 (9 Nov 2007 10:21:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2007 10:21:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 09 11:21:49 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IqQzj-000164-4B for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Nov 2007 11:21:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqQzU-0004mU-KD for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Nov 2007 05:21:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IqQzA-0004lz-VP for help-gnu-emacs@gnu.org; Fri, 09 Nov 2007 05:21:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IqQz9-0004k2-52 for help-gnu-emacs@gnu.org; Fri, 09 Nov 2007 05:21:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqQz8-0004jl-Nh for help-gnu-emacs@gnu.org; Fri, 09 Nov 2007 05:21:10 -0500 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IqQz8-00071T-DN for help-gnu-emacs@gnu.org; Fri, 09 Nov 2007 05:21:10 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-202-76.inter.net.il [84.228.202.76]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id JIR95756 (AUTH halo1); Fri, 9 Nov 2007 12:20:47 +0200 (IST) In-reply-to: <1194570171.261210.234480@y27g2000pre.googlegroups.com> (message from Ben Bullock on Thu, 08 Nov 2007 17:02:51 -0800) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49091 Archived-At: > From: Ben Bullock > 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).