On Mon, Apr 06, 2015 at 12:10:40AM -0700, Garrett Cooper wrote: > > > On Apr 5, 2015, at 23:56, Slawa Olhovchenkov <s...@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-unsubscr...@freebsd.org" > > _______________________________________________ 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-unsubscr...@freebsd.org"