Re: cannot set locale (systemd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri 31 Aug 11:39, Kazó Csaba wrote:
> 2012/8/31 Thanos Zygouris <athanasios.zygouris@xxxxxxxxx>
> 
> > After upgrading systemd (189-3) and filesystem (2012.8-1) my locale
> > isn't en_US.UTF-8 anymore. Instead, it defaults to C.
> >
> > # cat /etc/locale.conf:
> > LOCALE=en_US.UTF-8
> > LC_COLLATE=C
> >
> > # locale
> > LANG=C
> > LC_CTYPE="C"
> > LC_NUMERIC="C"
> > LC_TIME="C"
> > LC_COLLATE=C
> > LC_MONETARY="C"
> > LC_MESSAGES="C"
> > LC_PAPER="C"
> > LC_NAME="C"
> > LC_ADDRESS="C"
> > LC_TELEPHONE="C"
> > LC_MEASUREMENT="C"
> > LC_IDENTIFICATION="C"
> > LC_ALL=
> >
> > I tried to run /etc/profile.d/locale.sh manually, but nothing changed.
> > If i manually export LANG="en_US.UTF-8", it works, but i suspect it's
> > not the "correct" way.
> >
> > So, is there a bug, or i am just missing something?
> >
> 
> 
> Hello,
> 
> 
> LANG is the variable you should set in locale.conf. See
> https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale
> 
> 
> Csaba

Thanks, it's working now. I gave the wiki a quick look, but this
information skipped my attention. Sorry for the noise and thanks again.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux