Tuesday 4 June 2013

Re: Systems with invalid locales

On Tue, Jun 04, 2013 at 09:40:37AM -0400, Stéphane Graber wrote:
> On 06/04/2013 06:18 AM, Adam Conrad wrote:
> >
> > I wonder if it might be high time to discuss slapping C.UTF-8 in the
> > default locale in pretty much every minimal installation scenario we
> > can think of (obviously, still overriding in more complex installers
> > that allow a user to choose a properly local locale).
>
> In any case, C.UTF-8 is usually vastly better than just C, so I'm all
> for having that change done.

I was thinking of just having base-files.postinst create default/locale
if it doesn't exist, and populate it with the right bits for C.UTF-8.

That should preserve people's fancy locales on upgrade, but for people
who never set a default, would move them from C to C.UTF-8 (desirable,
or not, I'm undecided, we could version-guard it, if not).

My only concern is if any installer code also does the "only if it
doesn't exist" check, and we thwart their attempts to set a better one,
but this seems unlikely, as you'd want your lang pickers to be able to
run repeatedly and land on the last result you asked for.

... Adam

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel