Panu Matilainen <pmatilai(a)redhat.com> さんはかきました:
> On 11/06/2018 12:15 PM, Zbigniew Jędrzejewski-Szmek wrote:
>> On Tue, Nov 06, 2018 at 12:10:04PM +0200, Panu Matilainen wrote:
>>> On 11/06/2018 03:05 AM, Kevin Kofler wrote:
>>>> Zbigniew Jędrzejewski-Szmek wrote:
>>>>> The first step is to replace LC_ALL=en_US.UTF-8 with LC_ALL=C.UTF-8
>>>>> (and similarly for LANG=, LC_CTYPE=, etc.) in all spec files.
>>>>
>>>> But there are probably many more packages where the setting is hidden in
>>>> upstream build scripts.
>>>
>>> Build- and various other scripts.
>>>
>>> Is C.UTF-8 glibc upstream now, or is it still Fedora-specific?
>>
>> It was never Fedora-specific. The original justification in 2013 or so
>> was "other distros already do it". It's just glibc upstream that
doesn't
>> have it.
>>
>> We still carry
>>
https://src.fedoraproject.org/rpms/glibc/blob/master/f/glibc-c-utf8-local...,
>> so it seems this hasn't been upstream.
>
> Ugh, this is a rather cumbersome situation for other projects:
> supporting and using C.UTF-8 isn't going to happen large scale until
> it's upstreamed. And it does make one wonder what exactly is
> preventing it from being upstreamed in glibc.
The current C.UTF-8 locale doesn’t sort correctly. It should sort
according to code point order, but it does that only partly. It is sort
of a quick hack. The glibc developers are working on a better solution
but this takes more time.
Hmm. Not sorting correctly doesn't sound so good when LANG=C (and now
C.UTF-8) is quite commonly used exactly for that purpose.
- Panu -