Date: Tue, 27 Jun 2006 15:53:45 -0400 From: "J.R. Oldroyd" <fbsd@opal.com> To: freebsd-current@freebsd.org Subject: Re: Unicode (was Re: Updating ncurses in base) Message-ID: <20060627195345.GJ45513@linwhf.opal.com> In-Reply-To: <20060627031454.GB45513@linwhf.opal.com> References: <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> <20060626235439.GA11403@saltmine.radix.net> <20060627005305.GE8825@linwhf.opal.com> <20060627005849.GA3672@saltmine.radix.net> <20060627012109.GK74292@over-yonder.net> <20060627031454.GB45513@linwhf.opal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--7CZp05NP8/gJM8Cl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 26, 23:14, J.R. Oldroyd wrote: >=20 > [ stuff about the lcctype.patch ] ... I'm impressed at the number of downloads this patch is getting. Obviously there's plenty of interest in this topic. Folk who use the hexdump(1)/od(1) utility (in particular "od -c") to examine files will encounter a problem after applying the lcctype.patch. There's an assert check in hexdump/conv.c:137 that verifies that the character has (width > 0). This assertion is no longer valid once you've listed bunches of characters with SWIDTH0. If you run "od -c" on a file containing utf-8 combining characters, the assert test will fail causing od to dump core. I also have a patch for this and this patch is now documented here: http://opal.com/freebsd/unicode.html#hexdump Enjoy, -jr --7CZp05NP8/gJM8Cl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKGMyUkkqUax7f6FAQJrIAYAuaovQa7ZTxnSJLjU0o78rgky2XS3f/Ju CQ+Nhig9WsngcLoUQID9CRB/gStE91gmM77ccYuwKC1JO8mNs29GWbZakT0keFQc JvZo51wehvYoaEGAfhwC+dHyap1ziI5PXOoeY5kaWZTXsFu+qjDuH+c6nP1sT0Vw NLpdVCXpsVnp/ykbzbgvSRXFqvaIRXscDOvqSf9mA9uVS3vpLCm2R5PXxKegMCcT skQ+xO13YiOKjUo3GFBP68/SYEQlj6H5 =4Txc -----END PGP SIGNATURE----- --7CZp05NP8/gJM8Cl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060627195345.GJ45513>