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

Re: Locale for boot-floppies



At Wed, 30 May 2001 21:23:32 +0100,
Edmund GRIMLEY EVANS wrote:
> > Probably we should create a new minimal locale which is just like C,
> > except that it uses UTF-8. Maybe we can call it "C.UTF-8".
> > 
> > I'm not an export on locales, but I'll try to have a look at it and
> > see if I can make something work.
> 
> I tried blending "i18n" and "POSIX" to create the attached version of
> /usr/share/i18n/locales/C@utf-8.
> 
> The name "C.UTF-8" doesn't seem to be usable.

Because C locale is glibc-built-in locale.

> The /usr/lib/locale/C@utf-8/ that results is still 158 KB, but the
> compressed tar archive is about 30 kB. The big file is LC_CTYPE. I
> don't suppose you could make that file smaller, but maybe you could
> make it more compressible.

It's difficult. But an ugly hack that removes un-necessary 
LC_CTYPE entries not to be used in debian-boot is some way of
resolving this problem, IMHO.

> LC_COLLATE
> copy "POSIX"
> END LC_COLLATE

Wrong. `iso14651_t1' is appropriate for the UTF-8 locale.

> LC_MESSAGES
> copy "POSIX"
> END LC_MESSAGES
> 
> LC_NUMERIC
> copy "POSIX"
> END LC_NUMERIC
> 
> LC_TIME
> copy "POSIX"
> END LC_TIME

`i18n' is more appropriate?

Regards,
-- GOTO Masanori



Reply to: