This is the mail archive of the
cygwin
mailing list for the Cygwin project.
readshortcut fails on file name
- From: "Nellis, Kenneth" <Kenneth dot Nellis at conduent dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 16 May 2017 19:14:52 +0000
- Subject: readshortcut fails on file name
- Authentication-results: sourceware.org; auth=none
- Authentication-results: cygwin.com; dkim=none (message not signed) header.d=none;cygwin.com; dmarc=none action=none header.from=conduent.com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
I have a Windows shortcut with Unicode character U+2013 (EN DASH) in its name.
readshortcut fails to read it, but if I rename it removing the EN DASH,
readshortcut reads it correctly.
$ readshortcut c-d.lnk
readshortcut: Load failed on C:\cygwin\home\knellis\work\c-d.lnk
$ mv c-d.lnk b.lnk
$ readshortcut b.lnk
/home/knellis/work/a
$ uname -svr
CYGWIN_NT-6.1 2.8.0(0.309/5/3) 2017-04-01 20:47
$ readshortcut --version
readshortcut is part of cygutils version 1.4.15
Reads and outputs data from a Windows shortcut (.lnk) file.
$ printenv LANG
C.UTF-8
$
--Ken Nellis
--
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