X-Recipient: archive-cygwin@delorie.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.mathes@raytion.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@cygwin.com
Subject: Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

