From unknown Sun Aug 10 00:43:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name 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: To: 7100@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128541730830979 (code B ref -1); Sat, 25 Sep 2010 12:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Sep 2010 12:21:48 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 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 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 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 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 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) From: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mule/6.0 (HANACHIRUSATO) Date: Sat, 25 Sep 2010 16:25:07 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -3.3 (---) 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) ---- 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) From unknown Sun Aug 10 00:43:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name Resent-From: Eli Zaretskii 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 13:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7100 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) Cc: 7100@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 7100-submit@debbugs.gnu.org id=B7100.128542094332588 (code B ref 7100); Sat, 25 Sep 2010 13:23:01 +0000 Received: (at 7100) by debbugs.gnu.org; 25 Sep 2010 13:22:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzUhr-0008TZ-C5 for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:22:23 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzUho-0008TU-2T for 7100@debbugs.gnu.org; Sat, 25 Sep 2010 09:22:21 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L9B0010019FRS00@a-mtaout21.012.net.il> for 7100@debbugs.gnu.org; Sat, 25 Sep 2010 15:25:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.203.3]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L9B001HY19ORF10@a-mtaout21.012.net.il>; Sat, 25 Sep 2010 15:25:01 +0200 (IST) Date: Sat, 25 Sep 2010 15:25:07 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <8362xurm4s.fsf@gnu.org> References: X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) > Date: Sat, 25 Sep 2010 16:25:07 +0900 > Cc: > > 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.) This is currently a missing feature in the Windows build of Emacs. Patches are most welcome. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 05 17:22:43 2012 Received: (at control) by debbugs.gnu.org; 5 Nov 2012 22:22:43 +0000 Received: from localhost ([127.0.0.1]:51177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVV46-0006bi-WE for submit@debbugs.gnu.org; Mon, 05 Nov 2012 17:22:43 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:57743) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVV44-0006bb-Fl for control@debbugs.gnu.org; Mon, 05 Nov 2012 17:22:41 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TVV12-0006xA-Jb for control@debbugs.gnu.org; Mon, 05 Nov 2012 17:19:32 -0500 Date: Mon, 05 Nov 2012 17:19:32 -0500 Message-Id: Subject: control message for bug 12807 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) merge 7100 12807 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 01 15:16:55 2013 Received: (at control) by debbugs.gnu.org; 1 Sep 2013 19:16:55 +0000 Received: from localhost ([127.0.0.1]:35389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGD8p-0001qs-AN for submit@debbugs.gnu.org; Sun, 01 Sep 2013 15:16:55 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:62909) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGD8m-0001qc-AG; Sun, 01 Sep 2013 15:16:53 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MSG00200NSEJT00@a-mtaout20.012.net.il>; Sun, 01 Sep 2013 22:16:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSG002WLO7XC670@a-mtaout20.012.net.il>; Sun, 01 Sep 2013 22:16:45 +0300 (IDT) Date: Sun, 01 Sep 2013 22:16:55 +0300 From: Eli Zaretskii Subject: Re: Processed (with 1 errors): Re: bug#15236: 24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs In-reply-to: X-012-Sender: halo1@inter.net.il To: control@debbugs.gnu.org (GNU bug tracker automated control server) Message-id: <8361uke4ig.fsf@gnu.org> References: <837gf0e55d.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control Cc: tracker@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) severity 15236 wishlist merge 15236 7100 thanks From unknown Sun Aug 10 00:43:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) Subject: bug#7100: closed (Re: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name) Message-ID: References: <834n6e6i4s.fsf@gnu.org> X-Gnu-PR-Message: they-closed 7100 X-Gnu-PR-Package: emacs,w32 Reply-To: 7100@debbugs.gnu.org Date: Thu, 12 Dec 2013 18:27:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1386872825-12322-1" This is a multi-part message in MIME format... ------------=_1386872825-12322-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name which was filed against the emacs,w32 package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7100@debbugs.gnu.org. --=20 7100: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7100 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1386872825-12322-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7100-done) by debbugs.gnu.org; 12 Dec 2013 18:26:13 +0000 Received: from localhost ([127.0.0.1]:46052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAxe-0003BV-UK for submit@debbugs.gnu.org; Thu, 12 Dec 2013 13:26:11 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:40559) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAxa-0003BJ-NV for 7100-done@debbugs.gnu.org; Thu, 12 Dec 2013 13:26:08 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MXP00100H2OBQ00@a-mtaout20.012.net.il> for 7100-done@debbugs.gnu.org; Thu, 12 Dec 2013 20:25:54 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXP00190HV69260@a-mtaout20.012.net.il>; Thu, 12 Dec 2013 20:25:54 +0200 (IST) Date: Thu, 12 Dec 2013 20:25:55 +0200 From: Eli Zaretskii Subject: Re: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name In-reply-to: <8362xurm4s.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: kawabata.taichi@gmail.com Message-id: <834n6e6i4s.fsf@gnu.org> References: <8362xurm4s.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 7100-done Cc: 7100-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 25 Sep 2010 15:25:07 +0200 > From: Eli Zaretskii > Cc: 7100@debbugs.gnu.org > > > From: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) > > Date: Sat, 25 Sep 2010 16:25:07 +0900 > > Cc: > > > > 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.) > > This is currently a missing feature in the Windows build of Emacs. > Patches are most welcome. Since no one stepped forward with the patches, I did it myself. Starting with trunk revision 115490, Emacs on Windows can access file names whose names include characters outside of the current ANSI codepage. ------------=_1386872825-12322-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Sep 2010 12:21:48 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 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 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 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 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 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) From: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Emacs for MS Windows cannot handle Unicode file name User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mule/6.0 (HANACHIRUSATO) Date: Sat, 25 Sep 2010 16:25:07 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) ---- 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) ------------=_1386872825-12322-1-- From unknown Sun Aug 10 00:43:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nils =?UTF-8?Q?G=C3=B6sche?= Subject: bug#12807: closed (Re: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name) Message-ID: References: <834n6e6i4s.fsf@gnu.org> <84wqxzepsa.fsf@cartan.de> X-Gnu-PR-Message: they-closed 12807 X-Gnu-PR-Package: emacs,w32 Reply-To: 12807@debbugs.gnu.org Date: Thu, 12 Dec 2013 18:27:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1386872826-12322-3" This is a multi-part message in MIME format... ------------=_1386872826-12322-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7100: 24.2; Emacs cannot edit file with funny Unicode characters in the fi= le name on Windows which was filed against the emacs,w32 package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12807@debbugs.gnu.org. --=20 7100: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7100 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1386872826-12322-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7100-done) by debbugs.gnu.org; 12 Dec 2013 18:26:13 +0000 Received: from localhost ([127.0.0.1]:46052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAxe-0003BV-UK for submit@debbugs.gnu.org; Thu, 12 Dec 2013 13:26:11 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:40559) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAxa-0003BJ-NV for 7100-done@debbugs.gnu.org; Thu, 12 Dec 2013 13:26:08 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MXP00100H2OBQ00@a-mtaout20.012.net.il> for 7100-done@debbugs.gnu.org; Thu, 12 Dec 2013 20:25:54 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXP00190HV69260@a-mtaout20.012.net.il>; Thu, 12 Dec 2013 20:25:54 +0200 (IST) Date: Thu, 12 Dec 2013 20:25:55 +0200 From: Eli Zaretskii Subject: Re: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name In-reply-to: <8362xurm4s.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: kawabata.taichi@gmail.com Message-id: <834n6e6i4s.fsf@gnu.org> References: <8362xurm4s.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 7100-done Cc: 7100-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 25 Sep 2010 15:25:07 +0200 > From: Eli Zaretskii > Cc: 7100@debbugs.gnu.org > > > From: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) > > Date: Sat, 25 Sep 2010 16:25:07 +0900 > > Cc: > > > > 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.) > > This is currently a missing feature in the Windows build of Emacs. > Patches are most welcome. Since no one stepped forward with the patches, I did it myself. Starting with trunk revision 115490, Emacs on Windows can access file names whose names include characters outside of the current ANSI codepage. ------------=_1386872826-12322-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Nov 2012 21:01:12 +0000 Received: from localhost ([127.0.0.1]:51111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVTnE-0004ie-5F for submit@debbugs.gnu.org; Mon, 05 Nov 2012 16:01:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46054) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVThq-0004ZU-9I for submit@debbugs.gnu.org; Mon, 05 Nov 2012 15:55:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVTen-0001p8-Lk for submit@debbugs.gnu.org; Mon, 05 Nov 2012 15:52:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,BODY_8BITS, DEAR_SOMETHING,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:52658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVTen-0001ow-I4 for submit@debbugs.gnu.org; Mon, 05 Nov 2012 15:52:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVTem-0003fn-CQ for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 15:52:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVTel-0001oW-5w for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 15:52:28 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:51518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVTek-0001oJ-SH for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 15:52:27 -0500 Received: from DARKSTAR.cartan.de (pD9E1E599.dip.t-dialin.net [217.225.229.153]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MQOHk-1TuoZo3O0a-00UJcI; Mon, 05 Nov 2012 21:52:24 +0100 From: =?iso-8859-1?Q?Nils_G=F6sche?= To: bug-gnu-emacs@gnu.org Subject: 24.2; Emacs cannot edit file with funny Unicode characters in the file name on Windows Date: Mon, 05 Nov 2012 21:52:05 +0100 Message-ID: <84wqxzepsa.fsf@cartan.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V02:K0:bUUVPmhOMi/MRmoFe8GXXW8qnIVQ+0exL5tAqfWkkHG Sr0/4YFwnZUTqa5bhCk0VfNVhFyKyZalKpkh1JoNXa+K9oko9X NOlzq6JgssG553sarPRlaQwFt4x9XCPXHBC/qt1210rQ6kkMUo /DJM7BKoJEJXJXZP9y0Gi6SHtfoyMx9KmxLP0jNh9TEEZyLGkW bLd/nzr0qBl/VmCQCkNAjQYJ7qio4hKEfMOB408L5eHIre4Bno zvRJCgzJm1TITz2jqxxs0o2spQ4oHoJwoZnkoohLOc0lR6vKlS 93/uiSJXUFz+CW89tN2BMtBGdahOWSAi7PVehyWPEVzkJBHank PsrbQKOBhuKZ77vMySp0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 05 Nov 2012 16:01:10 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Dear Sirs, I keep a bunch of text files on my Windows 7 desktop containing my thoughts about the solutions of chess problems I am trying to solve. Now, one of the= se problems was composed by a Russian. So, I named the file =D0=9A=D1=83=D0=B7= =D0=BE=D0=B2=D0=BA=D0=BE=D0=B2_L=C3=B6sung.txt: First the name of the Russian composer, then the German word for =C2=BBsolu= tion=C2=AB. However, when I tried to edit that file in Emacs, I only got error messages, probably because of the funny Unicode characters in the file name. (See bel= ow for the exact wording of the messages.) Another file with only English/German characters in the name, Thorton_L=C3=B6sung.txt, does not cause any trouble at all (oh, but it seem= s I misspelled the name, actually). (BTW, Notepad does not have any problems editing the same file. So, it is not some weird, OS-related problem, either). Regards, Nils G=C3=B6sche =3D=3D=3D=3D=3D=3D=3D=3D End of bug report=3D=3D=3D=3D=3D=3D In GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: en_US value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: DEU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x=20 C-f d e s k K u s o w k o w _ L =C3=B6 s u n g . t=20 x t C-g C-x C-f=20 K u d e s k K u s o w=20 k o s w _ L =C3=B6 s u n g . t x t =20 b l a r k C-x C-s C-x k C-z =20 d x f o i p g d=20 o j g C-x C-s =20 C-x k y e s C-z =20 C-x C-s C-x C-s C-x=20 k C-z C-x k C-z =20 C-x k C-z C-x C-f d e s k k =20 F a r k=20 . C-x C-s C-x k y e s C-z=20 M-x M-x C-g M-x r e p o r Recent messages: Wrote c:/Users/cartan/Desktop/Thorton_L=C3=B6sung.txt Saving file c:/Users/cartan/Desktop/Thorton_L=C3=B6sung.txt... Wrote c:/Users/cartan/Desktop/Thorton_L=C3=B6sung.txt (New file) [2 times] Making completion list... Mark set Saving file c:/Users/cartan/Desktop/????????_L=C3=B6sung.txt... basic-save-buffer-2: Opening output file: invalid argument, c:/Users/cartan= /Desktop/????????_L=C3=B6sung.txt completing-read-default: Command attempted to use minibuffer while in minib= uffer Quit Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-uti= ls mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu view eliserv doctor server time cl time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-li= sp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibe= tan thai tai-viet lao korean japanese hebrew greek romanian slovak czech europe= an ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help sim= ple abbrev minibuffer loaddefs button faces cus-face files text-properties over= lay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) ------------=_1386872826-12322-3-- From unknown Sun Aug 10 00:43:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Drew Adams Subject: bug#15236: closed (Re: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name) Message-ID: References: <834n6e6i4s.fsf@gnu.org> X-Gnu-PR-Message: they-closed 15236 X-Gnu-PR-Package: emacs,w32 Reply-To: 15236@debbugs.gnu.org Date: Thu, 12 Dec 2013 18:27:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1386872827-12322-5" This is a multi-part message in MIME format... ------------=_1386872827-12322-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7100: 24.3.50; Save file with Unicode chars in name on MS Windows replaces= chars by SPCs which was filed against the emacs,w32 package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15236@debbugs.gnu.org. --=20 7100: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7100 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1386872827-12322-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7100-done) by debbugs.gnu.org; 12 Dec 2013 18:26:13 +0000 Received: from localhost ([127.0.0.1]:46052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAxe-0003BV-UK for submit@debbugs.gnu.org; Thu, 12 Dec 2013 13:26:11 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:40559) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAxa-0003BJ-NV for 7100-done@debbugs.gnu.org; Thu, 12 Dec 2013 13:26:08 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MXP00100H2OBQ00@a-mtaout20.012.net.il> for 7100-done@debbugs.gnu.org; Thu, 12 Dec 2013 20:25:54 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXP00190HV69260@a-mtaout20.012.net.il>; Thu, 12 Dec 2013 20:25:54 +0200 (IST) Date: Thu, 12 Dec 2013 20:25:55 +0200 From: Eli Zaretskii Subject: Re: bug#7100: 24.0.50; Emacs for MS Windows cannot handle Unicode file name In-reply-to: <8362xurm4s.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: kawabata.taichi@gmail.com Message-id: <834n6e6i4s.fsf@gnu.org> References: <8362xurm4s.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 7100-done Cc: 7100-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 25 Sep 2010 15:25:07 +0200 > From: Eli Zaretskii > Cc: 7100@debbugs.gnu.org > > > From: =5ddd=5e61 =592a=4e00 ( Taichi KAWABATA ) > > Date: Sat, 25 Sep 2010 16:25:07 +0900 > > Cc: > > > > 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.) > > This is currently a missing feature in the Windows build of Emacs. > Patches are most welcome. Since no one stepped forward with the patches, I did it myself. Starting with trunk revision 115490, Emacs on Windows can access file names whose names include characters outside of the current ANSI codepage. ------------=_1386872827-12322-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Sep 2013 17:12:19 +0000 Received: from localhost ([127.0.0.1]:35064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGBCE-0005yj-UG for submit@debbugs.gnu.org; Sun, 01 Sep 2013 13:12:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38749) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGBCC-0005yT-JM for submit@debbugs.gnu.org; Sun, 01 Sep 2013 13:12:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGBBx-0006oJ-6g for submit@debbugs.gnu.org; Sun, 01 Sep 2013 13:12:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGBBx-0006oF-3i for submit@debbugs.gnu.org; Sun, 01 Sep 2013 13:12:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGBBo-00030I-Df for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 13:12:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGBBf-0006mQ-P1 for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 13:11:52 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:36720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGBBf-0006mI-HL for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 13:11:43 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r81HBfJc007949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 1 Sep 2013 17:11:42 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r81HBeS1024137 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 1 Sep 2013 17:11:41 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r81HBekF024133 for ; Sun, 1 Sep 2013 17:11:40 GMT MIME-Version: 1.0 Message-ID: Date: Sun, 1 Sep 2013 10:11:38 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) This might be a duplicate of #7100 and #12807 - I cannot tell. In any case, the recipe here is different. Whether the same bug or not, it seems like this kind of bug should be a priority in 2013, not relegated to the wishlist since 2010. Is it possible that Emacs on MS Windows still cannot save files with Unicode chars in the name? Am I missing something? Is this a Windows limitation in general, perhaps? emacs -Q Create a new file buffer with a Unicode character, such as GREEK SMALL LETTER LAMBDA, in the file name. Note that the mode line of the buffer shows the file name (buffer name) correctly, i.e., with the lambda chars. Enter some text in the file buffer, including, for example, such a char. Set the encoding to utf-8, to be sure. Save the file. The mode line still shows the file name correctly. All seems OK. No error from Emacs. But the name of the file actually created has a SPC char in place of each GREEK SMALL LETTER LAMBDA char that should be there. You can see this in Dired, and if you open the file from there you can see it in the mode line or via M-: (buffer-file-name). Can this be fixed? If not, how about letting the user know when s?he saves the file that Emacs (or Windows?) has in fact changed the name? In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-08-23 on ODIEONE Bzr revision: 113986 rgm@gnu.org-20130823185841-zoy6h1qk433ibrlf Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include' ------------=_1386872827-12322-5--