From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) Newsgroups: gmane.emacs.bugs Subject: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name Date: Sat, 25 Sep 2010 16:25:07 +0900 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285418503 30076 80.91.229.12 (25 Sep 2010 12:41:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 12:41:43 +0000 (UTC) To: 7100@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 25 14:41:42 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OzU4S-0006Ro-EP for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Sep 2010 14:41:42 +0200 Original-Received: from localhost ([127.0.0.1]:34459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzU4Q-00078g-0W for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Sep 2010 08:41:38 -0400 Original-Received: from [140.186.70.92] (port=48286 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzU44-000718-GY for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 08:41:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzU3z-0007pQ-GJ for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 08:41:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56857) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzU3z-0007pI-Ee for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 08:41:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OzTlR-00083r-Vq; Sat, 25 Sep 2010 08:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2010 12:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7100 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.128541730830979 (code B ref -1); Sat, 25 Sep 2010 12:22:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Sep 2010 12:21:48 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzTlE-00083c-1V for submit@debbugs.gnu.org; Sat, 25 Sep 2010 08:21:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzP4u-0005NG-OI for submit@debbugs.gnu.org; Sat, 25 Sep 2010 03:21:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzP7S-0000S5-52 for submit@debbugs.gnu.org; Sat, 25 Sep 2010 03:24:30 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:46135) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzP7S-0000S1-3M for submit@debbugs.gnu.org; Sat, 25 Sep 2010 03:24:26 -0400 Original-Received: from [140.186.70.92] (port=48647 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzP7N-0003sv-47 for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 03:24:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzP7I-0000RE-5L for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 03:24:20 -0400 Original-Received: from clock.ocn.ne.jp ([122.28.30.213]:63600 helo=smtp.clock.ocn.ne.jp) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzP7H-0000R4-GG for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 03:24:16 -0400 Original-Received: from golconda.clock.ocn.ne.jp (p20033-adsau14honb7-acca.tokyo.ocn.ne.jp [220.106.133.33]) by smtp.clock.ocn.ne.jp (Postfix) with ESMTP id 921922916; Sat, 25 Sep 2010 16:24:12 +0900 (JST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mule/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: HP-UX 11.00-11.11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 25 Sep 2010 08:21:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 25 Sep 2010 08:22:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40424 Archived-At: ---- 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)