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.> > ls emitted question mark for Norwegian characters (???), the menu > > and title fonts in fvwm2 displayed unknown to me symbols except for > > certain capital letters and yet other programs like the worker filemanager > > truncated filenames at the first Norwegian letter. > > > > I had to revert to 10.3 because of this but if anybody has some clues > > what may be the reason for this, I'd appreciate it. > > -- > Trond. > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"-- Eivind
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