www.delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=Xkr+hR4U/3ce92TpruB2/QdWd0vUpKAxrzAJtOLoMdqoam+JHz/g6 | |
CAQBLHEkyDZ51BiHJet1n3ht/Cdr72fELcND2Wzcbfs5nrHA8ujGhqiG0zksXvuv | |
w6BNsIn4JuLc7UWCD0vZ3K+KCxe2kiCK3zbVQoyOdCCjBh1dPglPvM= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=F70qdDhSX7bMytVkEoBOsb/qkIY=; b=rtk544qSM2DUCZdGL0cAsxwSshp5 | |
O1dBIIuKF3IDJXo65oYQHkqQAsYHnr42eeTUruU4h1cXJ8CSeWyvFwSbZx+Agl8l | |
hqJREBOMgRQ+anhoK7ORlMlYtvuEQLLaH1izOabgVVnrL7cOdQwTX/MBKUGufydL | |
x/eQr9QkFBDhuig= | |
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=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 29 Oct 2015 08:50:50 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bug in collation functions? |
Message-ID: | <20151029075050.GE5319@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <563148AF DOT 1000502 AT cornell DOT edu> <5631996D DOT 7040908 AT redhat DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <5631996D.7040908@redhat.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--M2XkPJ45YXpBrBm3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Oct 28 21:58, Eric Blake wrote: > On 10/28/2015 04:14 PM, Ken Brown wrote: > > It's my understanding that collation is supposed to take whitespace and > > punctuation into account in the POSIX locale but not in other locales. >=20 > Not quite right. It is up to the locale definition whether whitespace > affects collation. But you are correct that in the POSIX locale, > whitespace must not be ignored in collation. >=20 > > This doesn't seem to be the case on Cygwin. Here's a test case using > > wcscoll, but the same problem occurs with strcoll. >=20 > That's because the locale definitions are different in cygwin than they > are in glibc. But it is not a bug in Cygwin; POSIX allows for different > systems to have different locale definitions while still using the same > locale name like en_US.UTF-8. Btw, strcoll and wcscoll in Cygwin are implemented using the Windows function CompareStringW with the LCID set to the locale matching the POSIX locale setting. I'm rather glad I didn't have to implement this by myself... :} Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --M2XkPJ45YXpBrBm3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWMc/aAAoJEPU2Bp2uRE+g+RgP/291aqbza2dBYVtvIMprygoD 1Kq02v+gHGiLMIzEYhODQaiAgM8+y/IuOUlvczcNzluu2gAZ7AxyeLROAp4v3zrK 5YkCWfyn7Saxv9iiSHJst1RApfwIHrectsoCbelouu5R9GT3fbcez1uGuBJUwX3i q1LR2j+I5CDVxR0TXBD6Kof9lRONS5+iGvP7834MvMeluk9SO6UPS6XHxl67k4h9 gBA4/5eA/IaWppfRyoscl5DcbE6vOpi+0nfP7xwNvZscfV9NwIclVmTCRQhAkAIQ rlnP7yRsv4DcqAQgyCeqRw//hTmwFZu/kLy/IDm9O/btjO9b4ylIRmZolnqRv6u3 6+j/dEx3Ji2inBghFUGKnxVPTyHrNrBL6JplZzE8nOcHjMF4fERVEIaIUgpFaIKS /eFrjClqPZv/LjDr+7/Kx6g00rhI1m4I6Hq20frp6STmA81v6VG+xrmXxDhfSnY8 QWEvEtPNkwzAJuk26LprIsQqcfiQQhNimDNiWWNIHTEGf8myT69S5qpvwII5ZK2f ZltVQ+CUQzYsiblIJc6NfpOVgDHkeVDLshchDsz2EL2zQessoJBAU7Ijt3aykyDn TrXquAfL++VCSRQ0E6EzXo/gzk3NK1J1Mb+f9X+1cKWB6oKC+RGPyeaLkJIvQWBz ALS7LGkoTP6y1Yofq1nh =bBoh -----END PGP SIGNATURE----- --M2XkPJ45YXpBrBm3--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |