I am trying to set UTF-8 locale using 'russian' login class:
russian|Russian Users Accounts:\
My user has 'russian' login class, but localization isn't working properly.
The output of locale command:
[mercurius@tyler ~]$ locale
for example, tmux also shows error:
[mercurius@tyler ~]$ tmux
tmux: invalid LC_ALL, LC_CTYPE or LANG
Have you run cap_mkdb after updating user login class?
(In reply to Conrad Meyer from comment #1)
Yes, I have. I also tried other locales (en_US.UTF-8, for example).
It really looks strange. I opened topic at FreeBSD Forums and people think there "this can't happen"
Because, if I check shell env variables, they're set correctly:
[mercurius@tyler ~]$ printenv | grep LC
but 'locale' shows they all as C.
I have the same problem with 11.2-RC3 on powerpc(32bit).
minimac2:~ % setenv | grep UTF
minimac2:~ % locale
(In reply to devel from comment #4)
11.2-RC3 is unsupported, and this should be fixed in 12.x -- see bug 231965.
Thanks for poining.
The files in /usr/share/locale is broken in base distribution by crosscompiling.
How to recreate /usr/share/locale infrastructure by native building?