This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

readshortcut fails on file name


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]