delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/22/15:01:34

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 22 Jul 2009 21:01:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.0 - problem with unusual characters in file name
Message-ID: <20090722190110.GT27613@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5c5e00310907221147j5fa6499yc22cc911fbae0929 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <5c5e00310907221147j5fa6499yc22cc911fbae0929@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
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 Jul 22 14:47, Denis Petrov wrote:
> I have a file with a character 0xf028 in the name, which seems to
> break Cygwin's file name conversion routine. I took a cursory look
> through the code and I am going to try to step through it with a
> debugger but I thought maybe someone already has an idea how to make
> Cygwin to play nice with it?

Sorry, but there's no such way.  The area between 0xf000 and 0xf0ff is
in the private use area in the UNICODE charset.  Just like Interix,
Cygwin uses this to map special characters not allowed in filenames on
Windows filesystems to a valid UNICODE value and to map it back to their
ASCII equivalents internally to enhance POSIX compatibility.
This is also documented
http://cygwin.com/1.7/cygwin-ug-net/using-specialnames.html#pathnames-specialchars
and it's not going to be changed.


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