This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]