From owner-freebsd-i18n@FreeBSD.ORG Sun Feb 1 05:04:13 2004 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0842916A5F4; Sun, 1 Feb 2004 05:04:13 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0EAD43D55; Sun, 1 Feb 2004 05:03:28 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.10/8.12.10) with ESMTP id i11D3QHa042564; Sun, 1 Feb 2004 16:03:26 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.10/8.12.10/Submit) id i11D3Qsb042563; Sun, 1 Feb 2004 16:03:26 +0300 (MSK) (envelope-from ache) Date: Sun, 1 Feb 2004 16:03:25 +0300 From: Andrey Chernov To: Ruslan Ermilov Message-ID: <20040201130325.GA42457@nagual.pp.ru> References: <200401312329.i0VNTKCH067740@repoman.freebsd.org> <20040201093646.GD57540@FreeBSD.org.ua> <20040201094001.GA40180@nagual.pp.ru> <20040201104146.GF57540@FreeBSD.org.ua> <20040201120050.GA41545@nagual.pp.ru> <20040201120805.GA41753@nagual.pp.ru> <20040201123128.GA59402@FreeBSD.org.ua> <20040201124913.GB59402@FreeBSD.org.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20040201124913.GB59402@FreeBSD.org.ua> User-Agent: Mutt/1.5.5.1i cc: doc@FreeBSD.ORG cc: i18n@FreeBSD.ORG Subject: Re: Documenting composite LC_ALL locale, anyone? X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 13:04:13 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 01, 2004 at 02:49:13PM +0200, Ruslan Ermilov wrote: > One option to deal with this complex case (LC_ALL, composite locale, > and when some of the components start with a `/') would be to replace > each single slash with two adjacent slashes, so an argument of > `/pathto/localedef/output' would become `//pathto//localedef//output'. > Then double slashes in the input would represent a single slash, and > single shash would represent a component separator. //xxx///yyy//zzz is /xxx /yyy/zzz or /xxx/ yyy/zzz ? > Unfortunately, POSIX-200x is silent on this case while requiring that > the output of ``setlocale(LC_ALL, NULL)'' should be such that when > it's fed back to ``setlocale(LC_ALL, ...)'' it should restore all of > the locale components. Perhaps we should seek for some clarifications > in the Austin Group? ;) This is implementation-defined. It does not matter to standartize it=20 because it can't be modified, only saved/restored. --=20 Andrey Chernov | http://ache.pp.ru/ --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQCVAwUBQBz5HeJgpPLZnQjrAQFI0gQA5MlqmflcNheTplLl48v+pvmwKM42Zz3y mLfanuqp6u+18Iqw8bgunGTXSZc10f9kTb1bOuAwLo4xFh6Kz0nSIJJbaeSIpWZf KWkwjTJhh5+pJbuHJHSTrBKE9yLLHspbR9g3Jn7H+NA0cID9Pcqjoc7Sn/6GnPJ/ EGppU+oDIy0= =hHKA -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--