This is the mail archive of the
mailing list for the Cygwin project.
Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 27 Oct 2009 10:15:32 +0100
- Subject: Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode
- References: <4AE65A40.email@example.com>
- Reply-to: 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
> 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
$ ls | od -tx1
0000000 4d 69 6b 65 79 31 32 cc a3 2e 61 69 0a
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
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple