Date: Mon, 6 Apr 2015 10:16:40 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Garrett Cooper <yaneurabeya@gmail.com> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Dmitry Marakasov <amdmi3@FreeBSD.org> Subject: Re: svn commit: r281129 - head/etc Message-ID: <20150406071640.GJ23643@zxy.spb.ru> In-Reply-To: <6A81B952-BA41-4FF2-9215-D7E69EB8C6FE@gmail.com> References: <201504060132.t361WRVe090234@svn.freebsd.org> <20150406065619.GH74532@zxy.spb.ru> <6A81B952-BA41-4FF2-9215-D7E69EB8C6FE@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 06, 2015 at 12:10:40AM -0700, Garrett Cooper wrote: > > > On Apr 5, 2015, at 23:56, Slawa Olhovchenkov <slw@zxy.spb.ru> 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" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150406071640.GJ23643>