Tuesday, 4 June 2013

Re: Systems with invalid locales

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJRre5VAAoJEMY4l01keS1n8bkP+gIHvk+eMih3pTMzn80F7LKe
ptbTenIuRPujIOXpaLVtyR9ABvwIuAKkclIOeKp8tOYAfO3JYivSaLs+2VbpATXI
6GTocveOBWA44OdIZACiHR6AD/o4BnJey91Re7C+jvXBSKWlYfNUvfikSHJKeIFk
ILh6pR5EW0lvHWpOvqqi3WgG+CYHf8upDD2IvzKthlUWmKgsX8OMMUyKvCEE3xJh
ryqlRb1MqreIZYUOosMF7oy07g+kfRT9bEAmyFS7RUe7QVcly471eE7K2ydafw+w
CysJDtTtCOcvSyAUdVedYOuVtG6ZGlnB1rfZMSoI+Oo7bgcHtZySE4Eqh0/b7hwX
tX2EAUxuliflbsn9hG9fKaZP5WGYgd3RgUBDT8LCwboCkQ8Xx7GWGfmzVCkSurZ/
y19fIJQo44CRksYcuvbirhkq3GowURdyypxX85ev73cts4zmP1o9bvLHEKJ59Nqk
VMb4MMzLd+sYrcjUi8u4zCb6hVsgapLrI/kdzRYT4VGycmJrUF/i+8b5kd/5oVdO
Xo+nPS4ncpKdExCk6ElJWsca281tyJizL3vJ4e6cOV4kgzZCiaBEzVmkwWxJ1CVN
t3dac4vzuF2Tmj6FPpkC5LE97ciT/kqGlc8yDZxqJclqvKJQYi9vMTmoi1ZSSycB
HcF0F9tcMI7OJ2I2BAg7
=738p
-----END PGP SIGNATURE-----
On 06/04/2013 06:18 AM, Adam Conrad wrote:
> On Tue, Jun 04, 2013 at 12:03:10PM +0200, Martin Pitt wrote:
>>
>> I have always considered this default behaviour of ssh unexpected and
>> wrong. It blindly applies the host locale to the remote ssh session
>> without any checks whether that locale is actually valid. In
>> particular because it only seems to do that if the remote server does
>> not have any default locale from /etc/default/locale
>
> 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).
>
> ... Adam

+1

In a perfect world (yeah, I know...) we should be able to run Ubuntu
systems with language-pack-en as we wouldn't have any hardcoded
en_US.UTF-8 but instead use C.UTF-8.

That'd let us save some space on some images (think of any localized
image), on the actual target systems and on updates (langpacks are big).

In any case, C.UTF-8 is usually vastly better than just C, so I'm all
for having that change done.


--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com