From owner-svn-src-head@FreeBSD.ORG Mon Apr 6 08:49:40 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8DC9BE2F; Mon, 6 Apr 2015 08:49:40 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 11985913; Mon, 6 Apr 2015 08:49:39 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id t368nbWm090098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 6 Apr 2015 11:49:37 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id t368nbh6090097; Mon, 6 Apr 2015 11:49:37 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 6 Apr 2015 11:49:37 +0300 From: Gleb Smirnoff To: Slawa Olhovchenkov Subject: Re: svn commit: r281129 - head/etc Message-ID: <20150406084937.GX64665@FreeBSD.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150406084141.GK23643@zxy.spb.ru> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Dmitry Marakasov , 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:49:40 -0000 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 wrote: S> > S> > >> 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> > >> S> > S> > >> Log: S> > S> > >> Switch russian login class to UTF-8 S> > S> > > S> > S> > > As discursed before this is may cause data lost. S> > S> > S> > S> > Why? S> > S> 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> > S> > Don't save file. S> S> You kidding. S> vi may inform you about data lost only postfactum (in case no lines S> with koi8 characters currently on screen). No, I'm not. You open an application, the application does something weird. Do you usually select "Save" after that? For example, you open Microsoft Word file in OpenOffice, and you see that file is definitely mangled. Do you select "Save"? If you do, you are the one to blame. Don't blame application developers. The application didn't do implicit save. -- Totus tuus, Glebius.