From owner-freebsd-arch@FreeBSD.ORG Sun Jan 25 16:50:22 2015 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 859B325D; Sun, 25 Jan 2015 16:50:22 +0000 (UTC) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 450DCA3C; Sun, 25 Jan 2015 16:50:21 +0000 (UTC) Received: from critter.freebsd.dk (unknown [192.168.60.3]) by phk.freebsd.dk (Postfix) with ESMTP id CB5D03B8B7; Sun, 25 Jan 2015 16:50:13 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.9/8.14.9) with ESMTP id t0PGoCYr023507; Sun, 25 Jan 2015 16:50:13 GMT (envelope-from phk@phk.freebsd.dk) To: Jordan Hubbard Subject: Re: [RFC] Set the default locale to en_US.UTF-8 In-reply-to: <7B1D8345-248B-4C44-9568-079BA29614C2@ixsystems.com> From: "Poul-Henning Kamp" References: <20150124143357.GI81001@ivaldir.etoilebsd.net> <20150125143243.GB76051@zxy.spb.ru> <7B1D8345-248B-4C44-9568-079BA29614C2@ixsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23505.1422204612.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Sun, 25 Jan 2015 16:50:12 +0000 Message-ID: <23506.1422204612@critter.freebsd.dk> Cc: arch@FreeBSD.org, Baptiste Daroussin , Slawa Olhovchenkov X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2015 16:50:22 -0000 -------- In message <7B1D8345-248B-4C44-9568-079BA29614C2@ixsystems.com>, Jordan Hu= bbard writes: The point about vi(1) is that if you happen to open an ISO-8859 file while in UTF-8 mode, change something on the first line, it will happily and almost imperceptively truncate your file at the first non-UTF byte sequence. Needless to say, that is *not* the expected behaviour. -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .