all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 15236@debbugs.gnu.org
Subject: bug#15236: 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)	[thread overview]
Message-ID: <a52a0fdc-5346-40ab-8a8d-39a5447eb5fc@default> (raw)

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=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





             reply	other threads:[~2013-09-01 17:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-01 17:11 Drew Adams [this message]
2013-09-01 19:03 ` bug#15236: 24.3.50; Save file with Unicode chars in name on MS Windows replaces chars by SPCs Eli Zaretskii
     [not found] <<a52a0fdc-5346-40ab-8a8d-39a5447eb5fc@default>
     [not found] ` <<837gf0e55d.fsf@gnu.org>
2013-09-01 20:37   ` Drew Adams
2013-09-02  2:42     ` 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

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

  git send-email \
    --in-reply-to=a52a0fdc-5346-40ab-8a8d-39a5447eb5fc@default \
    --to=drew.adams@oracle.com \
    --cc=15236@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.