all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnu Emacs under Japanese MS Windows
Date: Fri, 09 Nov 2007 12:21:01 +0200	[thread overview]
Message-ID: <uzlxnpvn6.fsf@gnu.org> (raw)
In-Reply-To: <1194570171.261210.234480@y27g2000pre.googlegroups.com> (message from Ben Bullock on Thu, 08 Nov 2007 17:02:51 -0800)

> 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).

  parent reply	other threads:[~2007-11-09 10:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09  1:02 Gnu Emacs under Japanese MS Windows Ben Bullock
2007-11-09  1:54 ` Marc Adler
2007-11-09  4:04   ` Ben Bullock
2007-11-09 13:00     ` Marc Adler
2007-11-09 10:21 ` Eli Zaretskii [this message]
2007-11-09 15:08 ` Jason Rumney
2007-11-09 21:47   ` Ben Bullock
2007-11-10  0:43     ` Jason Rumney
2007-11-10  2:40       ` Ben Bullock
2007-11-11 23:15         ` Evan Monroig
2007-11-12 15:28         ` Jason Rumney
2007-11-12 22:40           ` Ben Bullock
2007-11-13  1:32             ` Jason Rumney
2007-11-13  4:30               ` Ben Bullock
2007-11-13  8:59                 ` Jason Rumney
2007-11-14  9:11                   ` Ben Bullock
2007-11-14 10:10                     ` Jason Rumney
2007-11-14 10:24                       ` Jason Rumney
2007-11-14 12:18                       ` Ben Bullock
2007-11-14 22:19                         ` Jason Rumney
2007-11-16 21:01                           ` Ben Bullock
2007-11-16 22:38                             ` Ben Finney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uzlxnpvn6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.