delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/14/13:12:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=YdrtftamBMyBTiFgSIn3lq+fJ4Xq
TV+yKbGxsqoPmddv3N7kYNbTgUC1hrsJhYF28j91JSx30hkNfcho/2k1MYKUkQdh
LhepWSAdb+biozOhS+1sdPR8tPocwNw8Ewfj+rgsPESCRQB9bUdTK9napzFgNbCU
cdHnkjBxDNlL9LQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=0nfmrdWRkZx+s49wH8pyr1FB6g0=; b=lw
hrsbeAD/t3pdnT+JFkbB/xqIRrZ3ea+GDmbWRXmRKSlXEJJdoOSxTjhTR0OxPNn8
hX/88Ccrnu/FnxC4k7kPrpXQ1vlBP2xMJUnIEueMC5HzYm6ZyPnsC/oAmhv1Dpba
wh/JrmsB94U+r73vljTuw6tfo1NSxnNSZ+oEOv3DQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50,KAM_INFOUSMEBIZ,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=UD:index.htm, index.htm, indexhtm, and
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: cygpath -w 'a"b'
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <C32E46D2-3984-427D-B6B6-50BF252FC8A1@etr-usa.com>
Date: Thu, 14 Jul 2016 11:12:26 -0600
Message-Id: <D6AABF23-1C86-4037-B862-57BCFFD5BC3C@etr-usa.com>
References: <000b01d1dddd$174e66a0$45eb33e0$@gmail.com> <C32E46D2-3984-427D-B6B6-50BF252FC8A1 AT etr-usa DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u6EHCcHU032650

On Jul 14, 2016, at 9:24 AM, Warren Young <wyml AT etr-usa DOT com> wrote:
> 
> If you look at such a file name in Explorer, Cygwin (?) seems to be mapping double-quotes to U+F022, which is currently not defined within Unicode:
> 
>  http://www.fileformat.info/info/unicode/char/f022/

I think this may be a typo in whatever code is doing the translation, because U+FF02 is a typographically distinct variation of the double-quote character:

  http://www.fileformat.info/info/unicode/char/ff02/index.htm

That would give the visual appearance of double-quotes in file names in Explorer without violating the restriction on 0x22 characters in NTFS.

In fact, it might be a thinko rather than a typo: 0x22 -> 0xF022.  It looks like someone thought they could just add 0xF000 to the character value, when the correct value os 0xFF02.

…And this is why we need man7/{ascii,latin-1,unicode}.7 files in Cygwin. :)

(In the SHTDI spirit, I’m looking into some sort of automated way to generate such files from the miscfiles originals.)
--
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