Bruno Haible <[EMAIL PROTECTED]>:
> > A small non-specific UTF-8 locale is required for boot floppies. I
> > cobbled together the attached version of C@utf-8 to go in
> > /usr/share/i18/locales.
> >
> > Is there a better way of doing this, or a better name for the locale?
>
> Why is the "i18n" file itself not suitable?
Because I prefer LC_COLLATE from POSIX, to save space and because some
things might depend on it, and also because when I tried to use "i18n"
for everything I got errors from the LC_MESSAGES, LC_NUMERIC and
LC_TIME sections. (I don't remember what they were; maybe they were
just warnings.)
> The name is debatable, because usually the codeset is mentioned after
> a dot, and @ is reserved for modifiers. Therefore I would call the
> file "BASIC" or "BOOT", and create the locale through
>
> localedef -f UTF-8 -i BOOT BOOT.UTF-8
> or
> localedef -f UTF-8 -i i18n BOOT.UTF-8
That would presumably work with locale-gen, too. What wouldn't work
with locale-gen is calling the locale "C.UTF-8" or "POSIX.UTF-8".
However, I could perhaps do that with localedef directly ...
Edmund
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/