Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2016 21:31:01 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Tim =?utf-8?Q?=C4=8Cas?= <darkuranium@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: UTF-8 by default?
Message-ID:  <20160720193101.jggjyak2vqdnkivr@ivaldir.etoilebsd.net>
In-Reply-To: <CANd9X8fFB8OAmc1oasJNb8HxANmh6qKQqYbmhHwiBv1=K3w%2Bmw@mail.gmail.com>
References:  <20160720140741.yi7vfgmmqtg6eprx@ivaldir.etoilebsd.net> <201607201833.u6KIXEpB054887@gw.catspoiler.org> <CANd9X8fFB8OAmc1oasJNb8HxANmh6qKQqYbmhHwiBv1=K3w%2Bmw@mail.gmail.com>

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

--6qrw4drxbthtfbnj
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 20, 2016 at 09:22:23PM +0200, Tim =C4=8Cas wrote:
> On 20 July 2016 at 20:33, Don Lewis <truckman@freebsd.org> wrote:
> > wc(1) has problems with its multibyte support pointed out by Coverity
> > as I recall.
>=20
> Not sure how critical that issue is (e.g. byte counts [`-c`], line
> counts [`-l`], and such should still work as intended; whether word
> counts work or not depends on whether we should count Unicode
> whitespace as, well, whitespace). I do wonder if everyone agrees that
> an effort should be made towards UTF-8 default, though?
>=20
> I'm willing to contribute some of my time to fixing these bugs, but I
> don't think I can fix *all* of this by myself. I guess wc(1) is as
> good a start as any, but I'd first like to talk to whoever is the
> maintainer for that bit of code, as I've never done any work in base
> before (only in ports).

good I would recommand to have a look at work done in OpenBSD in that regar=
ds,
since about a year Ingo Schwarze is atting UTF-8 support to all the tool in
their base system, including wc(1) not sure how theirs differs from our.

If working on that do not hesitate to push the changes you do propose in
phabricator:
https://reviews.freebsd.org and add me as a reviewer

https://wiki.freebsd.org/CodeReview might be useful to determine how to sim=
ply
use phabricator.

Do not hesitate to mail me if you need any help in that area.

Best regards,
Bapt

--6qrw4drxbthtfbnj
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXj9F1AAoJEGOJi9zxtz5aZnYP/37bszn+qCCB0VQCY5E10Cgc
VTDC6BMZm2LRFSIW5qzULsQ9DWV6DcXe9qFL3WATVqxileELvoeOBqD805tz2vLP
e5DhNYsuuTTzsBose+ozcHPvNbOHavI7rzCyOk+irkfaiBoI3s/z3d8Grn3HHAW1
4zMWyK8Nc2s6UXSwInvJMKk362Kqq5K3Y0n7Q0vLSp0ujitSEK192fujYz/D6Y23
FXs8LJTCUMhB7PWeCcbJ2Osr/Gn78OTgNtJtNsIMl/PVx+te+pEQ+7JElIYztDbi
VXZI1+Ac074TijnTm5V9Kh4yQ6UyqfWSDIFIWjTu5AYwtvzL195/Cr4ArPi9pcF+
sj32Hx3Q2Qj4PJC+odUuJpt5WMYQXkMxGdVz8f9GQDJq/k6my4SpQO1YzEPbPbbZ
UbP+sf1acFoaS6thAY1g4sbE/JPH3g9YNfT4MxFGCW0l7unW8RDul0jpYNfwfkrf
Ubv/iBHMLHnvyKmY/hhOvy0llmpt/OyB9bsoThe0zEWvXarzcLgXwjIFI1lkET20
X4T5R31seqJtXGCNKmixpHbXEYbZKlcLE6BqWqcq+CPGAUurYn8E74fnxvGsisVw
fMxGCUda/WSNmzpltGUlx3GM2+roZA+YyyJn/JLY99i11EJScAPMza6gqF2SY2sx
L77P/NcG4OrdRDv9Fyf+
=ilV8
-----END PGP SIGNATURE-----

--6qrw4drxbthtfbnj--



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