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

Bug#874160: src:glibc: default locale to C.UTF-8



On 2017-09-03 18:49, Adam Borowski wrote:
> Package: src:glibc
> Version: 2.24-17
> Severity: wishlist
> Tags: patch
> 
> Hi!
> Here's a simple patch set to change the default of setlocale(…, "") to
> C.UTF-8.  This is a drastically smaller change than altering the meaning of
> "C" to mean "C.UTF-8" that upstream is mulling over -- it affects only
> programs that already have locale support, when the user fails to set any.

Even is the change is small, that might still change the behavior of
some programs, so I am not sure we want to diverge from upstream and
other distributions here.

One example comes to my mind: initializing a postgresql database
cluster. When not using the --locale option this would cause the
database to use a non C locale, which has significant performance
impact.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: