delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/01/04:59:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 1 Jul 2002 11:58:51 +0300
From: Ville Herva <vherva AT niksula DOT hut DOT fi>
To: cygwin AT cygwin DOT com
Subject: Accessing filenames with different charsets
Message-ID: <20020701085851.GD9092@niksula.cs.hut.fi>
Reply-To: cygwin AT cygwin DOT com, v AT iki DOT fi
Mime-Version: 1.0
User-Agent: Mutt/1.3.25i

Sorry if this has already been discussed, but I couldn't find it in the
archive nor in the FAQ...

If I have a file name with Russian characters in it, cygwin is unable to
access it:

> ls 
????.TEST

(Russian characters are shown as '?' in directory listing, but ls does find
the file).

If I try to access it, however, open fails:

> touch *
touch: '????.TEST': no such file or directory

same deal with less, cp, rm, rsync etc.

On NT4 and W2k, the same happens even with the euro character ('¤') - on XP
it works, but russian chars (among other, I guess) fail. On XP I have the
newest cygwin.dll, so that can make difference as well.

BTW: dir /x show an interesting short name for the file: F305~1.TES, cygpath
-w -s doesn't shown anything.

So is it possible to access these files (I'd like to be able to backup the
workstation via cygwin tools), or is the problem fundamental?


-- v --

v AT iki DOT fi

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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