public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10
@ 2012-03-29 12:36 Bastian Mathes
  2012-03-29 12:41 ` Earnie Boyd
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bastian Mathes @ 2012-03-29 12:36 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10
  2012-03-29 12:36 Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10 Bastian Mathes
@ 2012-03-29 12:41 ` Earnie Boyd
  2012-03-29 14:40   ` Christopher Faylor
  2012-03-29 20:30 ` Corinna Vinschen
  2012-03-30 14:06 ` Bastian Mathes
  2 siblings, 1 reply; 6+ messages in thread
From: Earnie Boyd @ 2012-03-29 12:41 UTC (permalink / raw)
  To: cygwin

On Thu, Mar 29, 2012 at 8:36 AM, Bastian Mathes
<bastian.mathes@raytion.com> wrote:
> 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

The first course of action is to determine if the issue exists in the
most recent snapshot.  http://cygwin.com/snapshots

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10
  2012-03-29 12:41 ` Earnie Boyd
@ 2012-03-29 14:40   ` Christopher Faylor
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher Faylor @ 2012-03-29 14:40 UTC (permalink / raw)
  To: cygwin

On Thu, Mar 29, 2012 at 08:41:36AM -0400, Earnie Boyd wrote:
>On Thu, Mar 29, 2012 at 8:36 AM, Bastian Mathes
><bastian.mathes@raytion.com> wrote:
>> 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
>
>The first course of action is to determine if the issue exists in the
>most recent snapshot.  http://cygwin.com/snapshots

Actually, the first course of action would be to update to the latest release
rather than the previous release.

cgf

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10
  2012-03-29 12:36 Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10 Bastian Mathes
  2012-03-29 12:41 ` Earnie Boyd
@ 2012-03-29 20:30 ` Corinna Vinschen
  2012-03-30 17:05   ` Andrey Repin
  2012-03-30 14:06 ` Bastian Mathes
  2 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2012-03-29 20:30 UTC (permalink / raw)
  To: cygwin

On Mar 29 14:36, Bastian Mathes wrote:
> 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

That's a bug introduced almost 10 months ago and nobody noticed it.
There are not so many people using Cygwin from cmd, I guess.  I admit
I don't
understand that either, given how unbearable cmd is.

Anyway, that should be fixed now in CVS.  Please try the *next*
developer's snapshot from http://cygwin.com/snapshots/


Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10
  2012-03-29 12:36 Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10 Bastian Mathes
  2012-03-29 12:41 ` Earnie Boyd
  2012-03-29 20:30 ` Corinna Vinschen
@ 2012-03-30 14:06 ` Bastian Mathes
  2 siblings, 0 replies; 6+ messages in thread
From: Bastian Mathes @ 2012-03-30 14:06 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote:
> That's a bug introduced almost 10 months ago and nobody noticed it.
> There are not so many people using Cygwin from cmd, I guess.  I admit
> I don't understand that either, given how unbearable cmd is.

> Anyway, that should be fixed now in CVS.  Please try the *next*
> developer's snapshot from http://cygwin.com/snapshots/

Wow, that was quick, thanks a lot. If I take the cygwin1.dll from the
latest snapshot everything works fine again, just like in 1.7.9.

My real concern wasn't cmd, I just chose it for the example as it is
easier to reproduce. The same thing happens if I call a cygwin program
(e.g. imagemagick) from within a Java program, that was my real issue.

By the way, @cgf: I did try it with 1.7.11 and mentioned in my original
mail that it showed the same behavior. Sorry for not trying the latest
snapshot, I never compiled cygwin myself, always just used setup.exe to
install the packages. I still thought this issue was worth reporting.

Thanks again and have a nice day...

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10
  2012-03-29 20:30 ` Corinna Vinschen
@ 2012-03-30 17:05   ` Andrey Repin
  0 siblings, 0 replies; 6+ messages in thread
From: Andrey Repin @ 2012-03-30 17:05 UTC (permalink / raw)
  To: Corinna Vinschen

Greetings, Corinna Vinschen!

>> 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 aou.pdf in
>> the current folder with cygwin 1.7.9
>> ls "aou.pdf"
>> worked, but with cygwin 1.7.10 that gives
>> ls: cannot access "aou.pdf": No such file or directory

> That's a bug introduced almost 10 months ago and nobody noticed it.
> There are not so many people using Cygwin from cmd, I guess.  I admit
> I don't
> understand that either, given how unbearable cmd is.

Corinna, you're right and wrong at the same time.
cmd by itself is unbearable, yes.
But it's a default system shell which is used to launch applications from
other shells, like Far manager. And THAT is what makes up for what cmd lacking
in usability. Unfortunately, certain things still killing the uasability of
cygwin environment when used that way, and even having 4NT (/TakeCommandConsole)
replacing the cmd does not help alot... :(

> Anyway, that should be fixed now in CVS.  Please try the *next*
> developer's snapshot from http://cygwin.com/snapshots/


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 30.03.2012, <20:56>

Sorry for my terrible english...


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-30 17:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 12:36 Escaping spaces in filenames with umlauts after updating from 1.7.9 to 1.7.10 Bastian Mathes
2012-03-29 12:41 ` Earnie Boyd
2012-03-29 14:40   ` Christopher Faylor
2012-03-29 20:30 ` Corinna Vinschen
2012-03-30 17:05   ` Andrey Repin
2012-03-30 14:06 ` Bastian Mathes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).