From owner-svn-src-head@FreeBSD.ORG Mon Apr 6 07:16:42 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 8CDABB9C; Mon, 6 Apr 2015 07:16:42 +0000 (UTC) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 42991E47; Mon, 6 Apr 2015 07:16:42 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Yf1Gy-000CGN-9Q; Mon, 06 Apr 2015 10:16:40 +0300 Date: Mon, 6 Apr 2015 10:16:40 +0300 From: Slawa Olhovchenkov To: Garrett Cooper Subject: Re: svn commit: r281129 - head/etc Message-ID: <20150406071640.GJ23643@zxy.spb.ru> References: <201504060132.t361WRVe090234@svn.freebsd.org> <20150406065619.GH74532@zxy.spb.ru> <6A81B952-BA41-4FF2-9215-D7E69EB8C6FE@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6A81B952-BA41-4FF2-9215-D7E69EB8C6FE@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Dmitry Marakasov 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 07:16:42 -0000 On Mon, Apr 06, 2015 at 12:10:40AM -0700, Garrett Cooper wrote: > > > On Apr 5, 2015, at 23:56, Slawa Olhovchenkov wrote: > > > >> On Mon, Apr 06, 2015 at 01:32:27AM +0000, Dmitry Marakasov wrote: > >> > >> Author: amdmi3 (ports committer) > >> Date: Mon Apr 6 01:32:26 2015 > >> New Revision: 281129 > >> URL: https://svnweb.freebsd.org/changeset/base/281129 > >> > >> Log: > >> Switch russian login class to UTF-8 > > > > As discursed before this is may cause data lost. > > Why? Create file in koi8 locale with russian charaters. Update OS. Now you have utf-8 locale. Open file in vi. Save file. Done. Some data lost. vi and some other programs (tr and may by other) handle not-utf8 byte secquence in non-safe way. > >> Reviewed by: glebius > >> Approved by: glebius > >> Differential Revision: D2129 > >> > >> Modified: > >> head/etc/login.conf > >> > >> Modified: head/etc/login.conf > >> ============================================================================== > >> --- head/etc/login.conf Mon Apr 6 01:12:53 2015 (r281128) > >> +++ head/etc/login.conf Mon Apr 6 01:32:26 2015 (r281129) > >> @@ -81,8 +81,8 @@ root:\ > >> # Russian Users Accounts. Setup proper environment variables. > >> # > >> russian|Russian Users Accounts:\ > >> - :charset=KOI8-R:\ > >> - :lang=ru_RU.KOI8-R:\ > >> + :charset=UTF-8:\ > >> + :lang=ru_RU.UTF-8:\ > >> :tc=default: > >> > >> > >> _______________________________________________ > >> svn-src-all@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/svn-src-all > >> To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" > >