Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 14:28:36 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Chia-liang Kao <clkao@clkao.org>
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>
In-Reply-To: <20020811181805.GA1809@portege.clkao.org>
References:  <20020811181805.GA1809@portege.clkao.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020812102835.GA1288>