[Bug 241570] locale - LC_* variables are "C" when I set UTF-8 locale

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 29 13:10:55 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241570

            Bug ID: 241570
           Summary: locale - LC_* variables are "C" when I set UTF-8
                    locale
           Product: Base System
           Version: 11.3-STABLE
          Hardware: sparc64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: mercurius at elming.org

Hello,

I am trying to set UTF-8 locale using 'russian' login class:

russian|Russian Users Accounts:\
        :charset=UTF-8:\
        :lang=ru_RU.UTF-8:\
        :setenv=LC_MESSAGES=en_US.UTF-8,LC_TIME=en_US.UTF-8:\
        :tc=default:

My user has 'russian' login class, but localization isn't working properly.

The output of locale command:
[mercurius at tyler ~]$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

for example, tmux also shows error:

[mercurius at tyler ~]$ tmux
tmux: invalid LC_ALL, LC_CTYPE or LANG

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list