Summary: | locale - LC_* variables are "C" when I set UTF-8 locale | ||
---|---|---|---|
Product: | Base System | Reporter: | Eugene Bolshakoff <mercurius> |
Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Only Me | CC: | bel, cem, devel, yuripv |
Priority: | --- | ||
Version: | 11.3-STABLE | ||
Hardware: | sparc64 | ||
OS: | Any |
Description
Eugene Bolshakoff
2019-10-29 13:10:54 UTC
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 LC_MESSAGES=en_US.UTF-8 LC_TIME=en_US.UTF-8 but 'locale' shows they all as C. I have the same problem with 11.2-RC3 on powerpc(32bit). minimac2:~ % setenv | grep UTF MM_CHARSET=UTF-8 LANG=ru_RU.UTF-8 minimac2:~ % 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= (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? (In reply to bel from comment #7) What release are you running exactly? Cross-compiling locale data is expected to be fixed starting with 12.0. I'm going to close this as fixed in all supported releases. If there are other related issues, please open new PR. *** This bug has been marked as a duplicate of bug 231965 *** |