OpenRC: always set the UTF-8 variant for the locale.

--HG--
extra : convert_revision : 0f0ff2481fb5797a0e7759854ec3efd0a184f6fd
This commit is contained in:
Juan RP 2009-05-07 16:34:50 +00:00
parent 38567c4b37
commit 27286b694b

View File

@ -24,5 +24,5 @@ start()
# Set user defined locale
[ -z "$LOCALE" ] && LOCALE="en_US"
einfo "Setting system locale [$LOCALE] [UTF-8]"
echo "export LANG=$LOCALE" >> /etc/profile.d/locale.sh
echo "export LANG=$LOCALE.UTF-8" >> /etc/profile.d/locale.sh
}