delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-Received: | by 10.68.241.102 with SMTP id wh6mr29555715pbc.150.1362414289418; Mon, 04 Mar 2013 08:24:49 -0800 (PST) |
Message-ID: | <5134CACE.9060900@gmail.com> |
Date: | Tue, 05 Mar 2013 00:24:46 +0800 |
From: | Arthur Tu <arthur DOT jim DOT tu AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Drag a file into emacs-w32 frame |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Today when i tried to drag a file whose name containing chinese characters into emacs, it failed to open. Here is the brief review: 1. a file with a pure english file name to emacs-32 frame: open successfully. 2. a file with chinese characters in its name to emacs-32 frame: error message: "dnd-open-local-file: Can not read file:/cygdrive/c/Users/Arthur/Desktop/%20%20%20%20.txt". in fact, i tried several times with different name. the name was always decoded as a punch of "20%", even though different chinese characters were there. 3. the same file with chinese characters in its name to a emacs-nox frame(mintty): the file name was pasted into the buffer correctly. chinese characters were shown correctly. the file wasn't open. (This is what's expected to happen in terminal session.) So my question was around the situation 2. How did the emacs-w32 handle the dragged file? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |