From owner-freebsd-current@freebsd.org Wed Jul 20 19:22:26 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3B2EB9E160 for ; Wed, 20 Jul 2016 19:22:26 +0000 (UTC) (envelope-from darkuranium@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 316DC167D for ; Wed, 20 Jul 2016 19:22:26 +0000 (UTC) (envelope-from darkuranium@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id f93so45134810lfi.2 for ; Wed, 20 Jul 2016 12:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Da6dqR7DVRsbnWJ/HScynXS0A2GWzwL7jXtFH7oim1Y=; b=m6vgjpnI4YmyQrbqh4f8kUzCwTSeJDCY/o5M9A4rUt7t2aCUkXikT6MsM6CjsEsgIY +HNPbPXCwMFVqzlk+DOAgul/gcU3K3SZ8LOhXvx+U8f3CXYwDd8QBut4B4k/EOxW+K1m xOFL8otB4yHRU7me6UGWbfW1xzuGB9A4Va/+xksUWaXm0BTQbU6ER3SXR2FeZxgT3BcY Rt42Mv2BSlSmxH7r6U8XfqTvExFdYGVMj3+TfNiXPS7cegajye4eMEaYL+9ZtnrauNK7 bg3aaFDXX13HK5OsyLOb79assopvL15uuYQFDgPML0t37VJbj1+0uEM1IMsi3fTIdgFA CImQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Da6dqR7DVRsbnWJ/HScynXS0A2GWzwL7jXtFH7oim1Y=; b=S99QWf8UTc/G/MAG8LK0kwdruMC5WMuPUIzy6rWS/BPppgjJtWWclGcFGmCithKqRq KC8RGiCwDuunuCyKlYodk0ipI4PV6Esdjp/vg85oZMGmtFREoinVTzDWh3sPQzqsthdG owO0+Mi6RH981c0Opzof9x+RPqj5Lqql4atpZTkm9Lw4J+N60snRbK+AVLYcW5EtSYTl EDhfEyU5qdi91fBodPHEDec3XYSlsEBzCdpNtaLkIXOXHwh1UTIFZhjoMQznTXvPOwMk 9kP+4BYmBLm7wltp6EPtvELpat5hM/GOr0P9Ibsr5F+QgGfH8jghJSJQ+Bdbd5FhwZUU XP6Q== X-Gm-Message-State: ALyK8tK6yQU4lDfHGy6XR7M3IqWpF8poqZQ+7DiBrS4VlRZlwAXXXcmNLr3c1qaisHxpr1vrOIHHprDMRVa4RQ== X-Received: by 10.25.209.195 with SMTP id i186mr23892059lfg.230.1469042544156; Wed, 20 Jul 2016 12:22:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.160.201 with HTTP; Wed, 20 Jul 2016 12:22:23 -0700 (PDT) In-Reply-To: <201607201833.u6KIXEpB054887@gw.catspoiler.org> References: <20160720140741.yi7vfgmmqtg6eprx@ivaldir.etoilebsd.net> <201607201833.u6KIXEpB054887@gw.catspoiler.org> From: =?UTF-8?B?VGltIMSMYXM=?= Date: Wed, 20 Jul 2016 21:22:23 +0200 Message-ID: Subject: Re: UTF-8 by default? To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 19:22:26 -0000 On 20 July 2016 at 20:33, Don Lewis wrote: > wc(1) has problems with its multibyte support pointed out by Coverity > as I recall. 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? 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).