Date: Wed, 21 Feb 2018 00:08:22 +0100 From: Eivind Nicolay Evensen <eivinde@terraplane.org> To: freebsd-stable@freebsd.org Subject: Re: Locale problem updating 10.3 to 11.1 Message-ID: <20180220230822.GA72560@klump.hjerdalen.lokalnett> In-Reply-To: <20180219081129.GB62932@klump.hjerdalen.lokalnett> References: <20180218230251.GA60727@klump.hjerdalen.lokalnett> <alpine.BSF.2.21.1802190032250.24158@mail.fig.ol.no> <20180219081129.GB62932@klump.hjerdalen.lokalnett>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 19, 2018 at 09:11:29AM +0100, Eivind Nicolay Evensen wrote: > On Mon, Feb 19, 2018 at 12:33:26AM +0100, Trond Endrestøl wrote: > > On Mon, 19 Feb 2018 00:02+0100, Eivind Nicolay Evensen wrote: > > > > > Hello. > > > > > > After upgrading from 10.3 to 11.1 by building source (as of r329364), > > > I experienced some problems that seems to be related to locale. > > > > > > Using > > > > echo $LANG -- $LC_CTYPE > > > no_NO.ISO8859-1 -- no_NO.ISO8859-1 > > > > That's nb_NO.ISO8859-1. > > nb for norsk bokmål. > > Interesting, I had not noticed any nb_* in freebsd and can no longer > remember how I found no_NO. However, on 10.3 they seem to be the same: > > > ls -ld /usr/share/locale/n{o,b}*ISO* > drwxr-xr-x 2 root wheel 512 11 jan 2017 /usr/share/locale/nb_NO.ISO8859-1 > drwxr-xr-x 2 root wheel 512 11 jan 2017 /usr/share/locale/nb_NO.ISO8859-15 > drwxr-xr-x 2 root wheel 512 11 jan 2017 /usr/share/locale/no_NO.ISO8859-1 > drwxr-xr-x 2 root wheel 512 11 jan 2017 /usr/share/locale/no_NO.ISO8859-15 > > > diff -urN /usr/share/locale/n{o,b}_NO.ISO8859-1 > <nothing> > > I'll recheck if they differ in 11.1. And indeed, there's nothing called no_NO any more in 11.1. Thanks for the hint. It's much appreciated. Problem is solved by using nb_NO.ISO8859-1 instead. This part of "20151108" in UPDATING should probably have been enough of a clue for me: Due to a bug in install(1) it is recommended to remove the ancient locales before running make installworld. However, since it was mentioned in a note starting with "Add support for unicode collation" I most likely didn't even read it since I'll never touch unicode. Regards -- Eivind
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180220230822.GA72560>