From owner-svn-src-head@FreeBSD.ORG Mon Apr 6 08:55:07 2015 Return-Path: Delivered-To: svn-src-head@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 BC9751A8; Mon, 6 Apr 2015 08:55:07 +0000 (UTC) Received: from mail-vn0-x236.google.com (mail-vn0-x236.google.com [IPv6:2607:f8b0:400c:c0f::236]) (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 65D709C5; Mon, 6 Apr 2015 08:55:07 +0000 (UTC) Received: by vnbf62 with SMTP id f62so3591822vnb.13; Mon, 06 Apr 2015 01:55:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=O07bNa5dw45krDTwy741pRvcgowaissuSh5IV/o3Q5w=; b=YnIwXrHqn8J+HVDi/FLuaSMCo6G8KcQsXUm9evUVlTJSPPw4PFAcwk6XnlpbxIJFf6 +mTVdJ5YDK/P3aIfKdX32kQ5jngHsiQPXWsdgggVqp+idCA8JQvIYI40Hw6HcbVWTXRA h/EOBKBVE/jO55Wg1yJyRUgq00KoY8Q4NaZ1Pj4FYzZfUooIpHdoPq95nf/zw37WQrPM VPEmE4EIswumnN3OXw9ohrdejaa3POBPOnwwGgxp2qCSjrXYFSc1184szO90WvXrXm+N Sd+h4RqZClM3f0Oxi2As0cZVq/ce8BQLdTFoY88AVCQrB2SR5Vj6bp+1liIj0mH2GNTo sWbw== X-Received: by 10.52.32.34 with SMTP id f2mr9249069vdi.11.1428310506278; Mon, 06 Apr 2015 01:55:06 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id hq1sm281247vdb.24.2015.04.06.01.55.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Apr 2015 01:55:04 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 6 Apr 2015 10:55:00 +0200 From: Baptiste Daroussin To: Gleb Smirnoff Subject: Re: svn commit: r281129 - head/etc Message-ID: <20150406085500.GA56860@ivaldir.etoilebsd.net> References: <201504060132.t361WRVe090234@svn.freebsd.org> <20150406065619.GH74532@zxy.spb.ru> <6A81B952-BA41-4FF2-9215-D7E69EB8C6FE@gmail.com> <20150406071640.GJ23643@zxy.spb.ru> <20150406082553.GW64665@FreeBSD.org> <20150406084141.GK23643@zxy.spb.ru> <20150406084937.GX64665@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <20150406084937.GX64665@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , Dmitry Marakasov , Slawa Olhovchenkov , "svn-src-head@freebsd.org" , Garrett Cooper X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2015 08:55:08 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 06, 2015 at 11:49:37AM +0300, Gleb Smirnoff wrote: > On Mon, Apr 06, 2015 at 11:41:41AM +0300, Slawa Olhovchenkov wrote: > S> > S> > >> On Mon, Apr 06, 2015 at 01:32:27AM +0000, Dmitry Marakasov w= rote: > S> > S> > >>=20 > S> > S> > >> Author: amdmi3 (ports committer) > S> > S> > >> Date: Mon Apr 6 01:32:26 2015 > S> > S> > >> New Revision: 281129 > S> > S> > >> URL: https://svnweb.freebsd.org/changeset/base/281129 > S> > S> > >>=20 > S> > S> > >> Log: > S> > S> > >> Switch russian login class to UTF-8 > S> > S> > >=20 > S> > S> > > As discursed before this is may cause data lost. > S> > S> >=20 > S> > S> > Why? > S> > S>=20 > S> > S> Create file in koi8 locale with russian charaters. > S> > S> Update OS. Now you have utf-8 locale. > S> > S> Open file in vi. > S> > S> Save file. > S> > S> Done. Some data lost. > S> > S> vi and some other programs (tr and may by other) handle not-utf8 = byte secquence in non-safe way. > S> >=20 > S> > Don't save file. > S>=20 > S> You kidding. > S> vi may inform you about data lost only postfactum (in case no lines > S> with koi8 characters currently on screen). >=20 > No, I'm not. >=20 > You open an application, the application does something weird. Do you usu= ally > select "Save" after that? For example, you open Microsoft Word file in Op= enOffice, > and you see that file is definitely mangled. Do you select "Save"? >=20 > If you do, you are the one to blame. Don't blame application developers. = The > application didn't do implicit save. >=20 He is pointing at a vi bug: See https://lists.freebsd.org/pipermail/freebsd-arch/2015-January/016702.ht= ml Noone seems to have worked on it since :( Best regards, Bapt --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlUiSeQACgkQ8kTtMUmk6EzC/QCghIEPjaRil0MW3CYLsVqgGq1S 3FQAn0H8+e5swlONb9rWlcSn4GL/XNST =TbS9 -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--