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

Bug#522776: debian-policy: mandate existence of a standardised UTF-8 locale



Thorsten Glaser, le Fri 03 Sep 2010 13:02:31 +0000, a écrit :
> Russ Allbery dixit:
> >I agree with others in this thread that having a UTF-8 locale without the
> >collation changes implied by en_US is very useful for various software
> >packages such as automated test suites that want reproducible results and
> >were originally written for the C locale.
> 
> Same for testsuites that are written for UTF-8 but don’t care about
> anything other than LC_CTYPE.

A sequence of remarks here: one could think that it'd be just enough to
unset LC_ALL and set LC_CTYPE to achieve the same.  However, even
LC_CTYPE has differences between locales, transliterations notably.  For
the transliterations alone we'd probably better go with a stable C.UTF-8
which doesn't depend on transliteration fixes in whichever locale would
be chosen to provide a UTF-8 variant.

> If nobody beats me, I’ll digest-and-write-a-proposal as suggested.

I'd say go on :)
(of course we'll need to wait for libc to provide the locale
(post-squeeze I guess) before changing the policy).

Samuel



Reply to: