unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: =5ddd=5e61 =592a=4e00 <kawabata.taichi@gmail.com>( Taichi KAWABATA )
To: 7100@debbugs.gnu.org
Subject: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name
Date: Sat, 25 Sep 2010 16:25:07 +0900	[thread overview]
Message-ID: <m31v8ie14c.fsf%kawabata.taichi@gmail.com> (raw)

----

In MS Windows, ANSI file names are handled with fopen(), readdir(),
etc., while Unicode file names are handled with _wfopen(), _wreaddir(),
etc.

As MS Windows Emacs only uses fopen(), readdir(), etc., for handling
file names, Emacs can not handle Unicode file names.  If Windows uses
CP1252, only file names with CP1252 characters can be properly displayed
with Emacs.  (In dired, Unicode file names will be displayed as
undecipherable file name that contains tilde characters.)

On the other hand, for example, Cygwin (as of v1.7) now supports Unicode
file names, by means of UTF-8 format, thus it can handle any Windows
file names with Unix tools, such as rsync, etc.

This also implies that, the file-name output of `ls', `find' or `grep'
or other Unix tools of Cygwin can not be understood by Emacs (even if
cygwin-mount.el) is installed.

Regardless of Cygwin, I wish that if this problem would be recognized as
a bug and to be fixed in any future times.

Regards,

-- 
---------------------------------------------------------------------
  KAWABATA, Taichi  (kawabata.taichi@gmail.com)





             reply	other threads:[~2010-09-25  7:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-25  7:25 =5ddd=5e61 =592a=4e00 [this message]
2010-09-25 13:25 ` bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name Eli Zaretskii
2013-12-12 18:25   ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m31v8ie14c.fsf%kawabata.taichi@gmail.com \
    --to=kawabata.taichi@gmail.com \
    --cc=7100@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).