[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non
From: |
Eli Zaretskii |
Subject: |
bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name |
Date: |
Fri, 08 Mar 2013 21:42:56 +0200 |
> Date: Fri, 08 Mar 2013 12:18:05 -0500
> From: Ken Brown <kbrown@cornell.edu>
>
> Create a file "/tmp/Ü.txt". (In case my mailer mangles this, that's
> <U-umlaut>.txt.) Now open Windows Explorer and drag this file into an
> emacs frame. This results in the error message
>
> dnd-open-local-file: Can not read file:///tmp/%20.txt
>
> I think the problem occurs early in w32-handle-dropped-file (defined in
> lisp/term/w32-win.el). That function starts with
>
> (let ((f (if (eq system-type 'cygwin)
> (cygwin-convert-file-name-from-windows file-name t)
>
> At this point f should have the value "/tmp/Ü.txt". If I continue
> manually carrying out the code in w32-handle-dropped-file as though f
> had that value, everything is fine, as shown below. So
> cygwin-convert-file-name-from-windows must be doing something wrong.
What do you get from cygwin-convert-file-name-from-windows with this
file name?
Also, what is the system codepage on this system?
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name, Ken Brown, 2013/03/08
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name,
Eli Zaretskii <=
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name, Eli Zaretskii, 2013/03/08
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name, Eli Zaretskii, 2013/03/08
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name, Daniel Colascione, 2013/03/08
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name, Daniel Colascione, 2013/03/08
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name, Daniel Colascione, 2013/03/08
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name, Eli Zaretskii, 2013/03/09
- bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name, Daniel Colascione, 2013/03/09