delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/29/08:37:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F745753.5010205@raytion.com>
Date: Thu, 29 Mar 2012 14:36:35 +0200
From: Bastian Mathes <bastian DOT mathes AT raytion DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20111201 Lightning/1.0b3pre Thunderbird/3.1.12
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10
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

Hello,

after updating from 1.7.9 to 1.7.10 I experience a changed behavior when
quoting filenames with umlauts. For example if I have a file äöü.pdf in
the current folder with cygwin 1.7.9
ls "äöu.pdf"
worked, but with cygwin 1.7.10 that gives
ls: cannot access "äöü.pdf": No such file or directory

with both version
ls äöü.pdf
(without double quotes) works fine, so a real issue occurs if umlauts
and spaces occur together in a filename. If the file is called
"äöü äöü.pdf", I can use
ls "äöü äöü.pdf"
in 1.7.9 but did not find a way to address this file in 1.7.10.

Some remarks:
- I use the standard windows command line (cmd.exe), not a cygwin
terminal window (my cygwin\bin directory is the first entry in my PATH).
However the issue is the same if I call cygwin commands from within
another (java,python,...) program.
- this issue is the same for 1.7.11
- I used a 1.7.9 installation and only updated the package cygwin in the
category Base for this issue to occur. It is the same if I update all
packages to the latest version
- tests were done with an English Windows Vista
- I only tested German umlauts, don't know if this issues occur with
other non-7bit characters
- the output of a call to locale is
LANG=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_ALL=

Did anybody experience the same issues ? is there a solution or workaround ?

Thanks...

Bastian

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019