From unknown Sat Aug 16 13:47:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15236: 24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2013 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15236@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.137805553922989 (code B ref -1); Sun, 01 Sep 2013 17:13:01 +0000 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 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-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' From unknown Sat Aug 16 13:47:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15236: 24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2013 19:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15236 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: To: Drew Adams Cc: 15236@debbugs.gnu.org, control@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 15236-submit@debbugs.gnu.org id=B15236.13780621911970 (code B ref 15236); Sun, 01 Sep 2013 19:04:01 +0000 Received: (at 15236) by debbugs.gnu.org; 1 Sep 2013 19:03:11 +0000 Received: from localhost ([127.0.0.1]:35371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGCvW-0000Vg-CB for submit@debbugs.gnu.org; Sun, 01 Sep 2013 15:03:10 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:57574) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGCvT-0000V8-NB; Sun, 01 Sep 2013 15:03:09 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MSG00J00MTA6Z00@a-mtaout23.012.net.il>; Sun, 01 Sep 2013 22:03:01 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSG00JPFNL08D00@a-mtaout23.012.net.il>; Sun, 01 Sep 2013 22:03:01 +0300 (IDT) Date: Sun, 01 Sep 2013 22:03:10 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <837gf0e55d.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) 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: 1.0 (+) merge 15236 7100 thanks > Date: Sun, 1 Sep 2013 10:11:38 -0700 (PDT) > From: Drew Adams > > This might be a duplicate of #7100 and #12807 - I cannot tell. It is. > 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? It's not a Windows limitation, it's an Emacs limitation on Windows. Patches are still welcome to support file names with characters outside of the current ANSI codepage. 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 Sat Aug 16 13:47:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15236: 24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2013 20:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15236 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 15236@debbugs.gnu.org Received: via spool by 15236-submit@debbugs.gnu.org id=B15236.137806787819082 (code B ref 15236); Sun, 01 Sep 2013 20:38:03 +0000 Received: (at 15236) by debbugs.gnu.org; 1 Sep 2013 20:37:58 +0000 Received: from localhost ([127.0.0.1]:35526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGEPF-0004xh-Gq for submit@debbugs.gnu.org; Sun, 01 Sep 2013 16:37:57 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:44961) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGEPA-0004xQ-OT for 15236@debbugs.gnu.org; Sun, 01 Sep 2013 16:37:53 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r81KbkA3016161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 1 Sep 2013 20:37:47 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r81Kbjfl003091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Sep 2013 20:37:46 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r81KbjWX004094; Sun, 1 Sep 2013 20:37:45 GMT MIME-Version: 1.0 Message-ID: <4187f639-1458-47b8-aad2-4f818199ccbc@default> Date: Sun, 1 Sep 2013 13:37:43 -0700 (PDT) From: Drew Adams References: <> <<837gf0e55d.fsf@gnu.org>> In-Reply-To: <<837gf0e55d.fsf@gnu.org>> 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: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -4.7 (----) 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: -4.7 (----) > merge 15236 7100 > thanks > > This might be a duplicate of #7100 and #12807 - I cannot tell. > It is. Thanks. > > 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? >=20 > It's not a Windows limitation, it's an Emacs limitation on Windows. >=20 > Patches are still welcome to support file names with characters > outside of the current ANSI codepage. How about changing the status to a normal bug from a wishlist item? I would think this would be something fairly important by now. (But I'm no expert on Unicode or its use cases.) From unknown Sat Aug 16 13:47:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15236: 24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Sep 2013 02:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15236 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: To: Drew Adams Cc: 15236@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 15236-submit@debbugs.gnu.org id=B15236.137808975625923 (code B ref 15236); Mon, 02 Sep 2013 02:43:01 +0000 Received: (at 15236) by debbugs.gnu.org; 2 Sep 2013 02:42:36 +0000 Received: from localhost ([127.0.0.1]:36151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGK67-0006k3-Pl for submit@debbugs.gnu.org; Sun, 01 Sep 2013 22:42:36 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:42504) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGK64-0006jn-EY for 15236@debbugs.gnu.org; Sun, 01 Sep 2013 22:42:33 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MSH00K008DGLR00@a-mtaout23.012.net.il> for 15236@debbugs.gnu.org; Mon, 02 Sep 2013 05:42:25 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSH00KVK8UOKL40@a-mtaout23.012.net.il>; Mon, 02 Sep 2013 05:42:25 +0300 (IDT) Date: Mon, 02 Sep 2013 05:42:35 +0300 From: Eli Zaretskii In-reply-to: <4187f639-1458-47b8-aad2-4f818199ccbc@default> X-012-Sender: halo1@inter.net.il Message-id: <834na4djvo.fsf@gnu.org> References: <4187f639-1458-47b8-aad2-4f818199ccbc@default> X-Spam-Score: 1.0 (+) 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: 1.0 (+) > Date: Sun, 1 Sep 2013 13:37:43 -0700 (PDT) > From: Drew Adams > Cc: 15236@debbugs.gnu.org > > > It's not a Windows limitation, it's an Emacs limitation on Windows. > > > > Patches are still welcome to support file names with characters > > outside of the current ANSI codepage. > > How about changing the status to a normal bug from a wishlist item? "Wishlist" just means it's a missing feature, as opposed to a bug in an existing feature. It doesn't say anything about the importance of the feature that is missing.