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

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



On Mon, Apr 06, 2009 at 10:56:25PM +0100, Roger Leigh wrote:
> On Mon, Apr 06, 2009 at 04:18:59PM +0200, Bill Allombert wrote:
> > On Mon, Apr 06, 2009 at 02:06:55PM +0200, Thorsten Glaser wrote:
> > > Package: debian-policy
> > > Version: 3.8.1.0
> > > Severity: wishlist
> > > 
> > > For the mksh regression tests, I need a UTF-8 locale working; most
> > > systems either provide “en_US.UTF-8” or “en_US.utf8” with the former
> > > being recommended.
> > 
> > Hello Thorsten,
> > I have some sympathy with your proposal because dgettext does not work
> > in the "C" locale but there are too much open question.
> 
> Is there any hope of fixing this?  I consider this hardcoded
> gettext behaviour in a C locale a severe misfeature, which has caused
> me (as a programmer) no end of problems.

None: I discussed extensively this issue with Bruno Haible, and while he
was sympathetic to my cause, he says there were no chance that upstream
glibc would accept such a change.

On the other hand, technically it is a one-line patch to remove that
restriction. I even considered to ship menu with a patched gettext to
avoid that issue. Fortunately, since Sarge, debian-installer set LANG in
/etc/environment so programs almost never run under C locale anymore.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 



Reply to: