GNU bug report logs - #15236
24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs

Previous Next

Packages: emacs, w32;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 1 Sep 2013 17:13:01 UTC

Severity: wishlist

Merged with 7100, 12807

Found in versions 24.0.50, 24.2, 24.3.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15236 in the body.
You can then email your comments to 15236 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15236; Package emacs. (Sun, 01 Sep 2013 17:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 01 Sep 2013 17:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Save file with Unicode chars in name on MS Windows replaces
 chars by SPCs
Date: Sun, 1 Sep 2013 10:11:38 -0700 (PDT)
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 <at> gnu.org-20130823185841-zoy6h1qk433ibrlf
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15236; Package emacs,w32. (Sun, 01 Sep 2013 19:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 15236 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 15236 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
Subject: Re: bug#15236: 24.3.50;
 Save file with Unicode chars in name on MS Windows replaces chars
 by	SPCs
Date: Sun, 01 Sep 2013 22:03:10 +0300
merge 15236 7100
thanks

> Date: Sun, 1 Sep 2013 10:11:38 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> 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.




Severity set to 'wishlist' from 'normal' Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 01 Sep 2013 19:17:02 GMT) Full text and rfc822 format available.

Merged 7100 12807 15236. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 01 Sep 2013 19:17:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15236; Package emacs,w32. (Sun, 01 Sep 2013 20:38:03 GMT) Full text and rfc822 format available.

Message #15 received at 15236 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 15236 <at> debbugs.gnu.org
Subject: RE: bug#15236: 24.3.50;	Save file with Unicode chars in name on MS
 Windows replaces chars by	SPCs
Date: Sun, 1 Sep 2013 13:37:43 -0700 (PDT)
> 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?
> 
> 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?

I would think this would be something fairly important by now.
(But I'm no expert on Unicode or its use cases.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15236; Package emacs,w32. (Mon, 02 Sep 2013 02:43:01 GMT) Full text and rfc822 format available.

Message #18 received at 15236 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 15236 <at> debbugs.gnu.org
Subject: Re: bug#15236: 24.3.50;
 Save file with Unicode chars in name on MS Windows replaces chars
 by	SPCs
Date: Mon, 02 Sep 2013 05:42:35 +0300
> Date: Sun, 1 Sep 2013 13:37:43 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: 15236 <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 10 Jan 2014 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.