Re: step by step HOWTO switch debian installation into utf-8
On Sun, Sep 02, 2001 at 12:59:05AM +1000, Drew Parsons wrote:
> On Fri, Aug 31, 2001 at 11:15:03PM +0200, Radovan Garabik wrote:
> >Preparing correct locale:
> >Pick a locale you would use. I decided to use en_GB,
> >you may use something else, the important part is the
> >UTF-8 encoding.
> >1) generate the locale:
> ># localedef -v -c -i en_GB -f UTF-8 /usr/lib/locale/en_GB.UTF-8
>
> Isn't the "correct" approach to define
> en_AU UTF-8
> in /etc/locale.gen, and run locale-gen?
>
No, locale-gen is not correct since it puts the generated locale
into /usr/lib/locale/en_GB, which is fine as long as it is the sole
encoding used for the locale.
But if you want to use (e.g.) en_GB.ISO-8859-1 as well, it will be put
into the same directory - that means one of these two locales will
be overwritten by the other one.
--
-----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__ garabik @ melkor.dnp.fmph.uniba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
Reply to: