From owner-freebsd-standards Mon Aug 12 3:29: 2 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8226D37B400; Mon, 12 Aug 2002 03:28:57 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D44843E5E; Mon, 12 Aug 2002 03:28:56 -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.5/8.12.5) with ESMTP id g7CASeTq001457; Mon, 12 Aug 2002 14:28:41 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g7CAScs0001455; Mon, 12 Aug 2002 14:28:38 +0400 (MSD) (envelope-from ache) Date: Mon, 12 Aug 2002 14:28:36 +0400 From: "Andrey A. Chernov" To: Chia-liang Kao Cc: standards@FreeBSD.ORG, i18n@FreeBSD.ORG, keichii@FreeBSD.ORG, tjr@FreeBSD.ORG Subject: Re: wcwidth and mklocale Message-ID: <20020812102835.GA1288@nagual.pp.ru> References: <20020811181805.GA1809@portege.clkao.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <20020811181805.GA1809@portege.clkao.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 12, 2002 at 02:18:05 +0800, Chia-liang Kao wrote: > the share_mklocale files shall be updated with the SWIDTH info as the > ASCII one in the patch. Not exactly simple, 0x20 - 0x7e range is for ASCII only, other single byte charsets must match their PRINT. > should there be a default value for SWIDTH in each locale file?=20 If there is strong demand to run -current programs which use this feature= =20 on -stable, we'll need default as SWIDTH1 and switch defines: #define _CTYPE_SW0 0x40000000L #define _CTYPE_SW1 0x00000000L (0 from old locale will be SWIDTH1). But in that case we need to specify=20 SWIDTH0 in single byte charsets files, not SWIDTH1 only as in your=20 example, or both. It looks a bit ugly, so if there is no such demand,=20 better to avoid it. > should we maintain the binary file format compatibility?=20 File format is not changed, as I see. Isn't it? --=20 Andrey A. Chernov http://ache.pp.ru/ --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPVeN0+JgpPLZnQjrAQHZ6gQApngmUgyKGFxkYbOrN1yh1EF+wmpOU0N/ 2XycOC5CgvRCjoQeU4U0tw/glJ5ODToIAeYm9zjotZGaZLV+ymvP39RM1HwXwBwy 947gsVTBN5cltStWECTTL0hgmmqDY+enryZsYDSXHMT9by7RvtO6DaSDEMOZuBgZ wsIwW1L06EM= =BCsR -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message