From owner-cvs-all Thu Oct 3 20:41:48 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B60E137B401; Thu, 3 Oct 2002 20:41:47 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A483143E3B; Thu, 3 Oct 2002 20:41:46 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.6/8.12.6) with ESMTP id g943fSZj002411; Fri, 4 Oct 2002 07:41:34 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.5/Submit) id g943fOai002410; Fri, 4 Oct 2002 07:41:24 +0400 (MSD) (envelope-from ache) Date: Fri, 4 Oct 2002 07:41:20 +0400 From: "Andrey A. Chernov" To: "Tim J. Robbins" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include wchar.h src/lib/libc/string Makefile.inc wcscoll.3 wcscoll.c wcsxfrm.3 wcsxfrm.c Message-ID: <20021004034118.GA2347@nagual.pp.ru> References: <200210040318.g943IQ4H039195@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210040318.g943IQ4H039195@freefall.freebsd.org> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 03, 2002 at 20:18:26 -0700, Tim J. Robbins wrote: > Log: > Add a placeholder implementation of wcscoll() and wcsxfrm() which gives > locale-sensitive collation only in single-byte locales, and just does > binary comparison for the others with extended character sets. As better approximation you can try compare extended characters by their rune number. Often the are in the alphabetic order in Unicode. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message