delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/27/04:15:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 27 Oct 2009 10:15:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode
Message-ID: <20091027091532.GB2076@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4AE65A40 DOT 9070405 AT monai DOT ca>
MIME-Version: 1.0
In-Reply-To: <4AE65A40.9070405@monai.ca>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Oct 26 19:26, Steven Monai wrote:
> Hello folks,
> 
> I recently removed Cygwin 1.5.25 from a WindowsXP box (as per FAQ #
> 2.17), and then installed the Cygwin 1.7.0 beta in its place. The
> install seemed to go flawlessly. I was looking forward to having more
> robust handling of filenames with Unicode chars, but unfortunately, I'm
> not having much luck.
> 
> For example, the following is some output from a bash shell interaction:
> 
> $ ls -l weird/
> ls: cannot access weird/Mikey12 .ai: No such file or directory
> total 0
> -????????? ? ? ? ?            ? Mikey12 .ai
> 
> The directory named 'weird' has a single file in it named 'Mikey12?.ai',
> where '?' is the Unicode char U+0323 ("Combining Dot Below").
> 
> None of the other Cygwin command line tools I tried could access the
> file either. Most importantly to me, 'rsync' can't do anything with it.
> rsync always reports that the "file vanished".
> 
> I added 'set LC_ALL=en_US.UTF-8' (without the quotes) to Cygwin.bat, as
> suggested in the Internationalization section of the 1.7 User Guide, but
> there was no improvement.

Uh oh, I guess this must be changed again in the docs.  Cygwin is using
UTF-8 throughout as default charset so there should be no reason to
do that.

> Any ideas about what might be going wrong? I'm not seeing the same
> problem on another machine (Windows 2000 SP4), where no version of
> Cygwin previous to 1.7.0 was ever installed. Could it be that some
> remnant of the previous Cygwin 1.5 install is causing my problem?

This is... weird.  For testing I created a file with the same name on XP
SP3, 2008 SP2, and W7.  On neither system I have problems with this file
name:

  $ ls | od -tx1
  0000000 4d 69 6b 65 79 31 32 cc a3 2e 61 69 0a
  0000015

The cygcheck contains nothing which would point to a potential problem.
There's no trace to see from a previous 1.5 install and the registry
mount entries which have been created by 1.5 have no meaning in 1.7.

I'm seriously puzzled.  Could you please run

  $ strace -o ls.trace ls -l weird/

and send the ls.trace file as attachment?  Maybe there's some hint
in it.


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

- Raw text -


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