Tomohiro KUBOTA wrote on 2001-01-31 03:13 UTC:
> I think GNU libc also need UTF-8 locale.
UTF-8 locales have been fully implemented since GNU glibc 2.2.
For instance SuSE Linux 7.1 installs by default the precompiled UTF-8
locales
de_DE.UTF-8 el_GR.UTF-8 en_GB.UTF-8 en_US.UTF-8 fa_IR.UTF-8 fr_FR.UTF-8
hi_IN.UTF-8 ja_JP.UTF-8 ko_KR.UTF-8 mr_IN.UTF-8 ru_RU.UTF-8 vi_VN.UTF-8
zh_CN.UTF-8 zh_TW.UTF-8
If your favourite locale it not among these, no problem:
Any non-root user can easily use for instance
localedef -v -c -i da_DK -f UTF-8 $HOME/local/locale/da_DK.UTF-8
export LOCPATH=$HOME/local/locale
export LANG=da_DK.UTF-8
to generate and activate for instance a Danish UTF-8 locale. The root
user can easily add a new UTF-8 locale for all users via
localedef -v -c -i da_DK -f UTF-8 /usr/share/locale/da_DK.UTF-8
and if root wants to make da_DK.UTF-8 the system-wide default locale for
every user, then adding the line
export LANG=da_DK.UTF-8
into /etc/profile will do the trick.
Markus
--
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org, WWW: <http://www.cl.cam.ac.uk/~mgk25/>
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/