UTF-8 locale in rpm build

Pádraig Brady P at draigBrady.com
Mon May 11 16:34:35 UTC 2015


On 11/05/15 04:43, Lars Seipel wrote:
> On Sun, May 10, 2015 at 09:02:31AM +0200, Matěj Cepl wrote:
>> Which part f C.UTF-8 is not covered by en_US.UTF-8?
> 
> Let's see:
> 
> % export LC_COLLATE=C
> % bash -c 'case b in [A-Z]) echo upper;; *) echo lower;; esac'
> lower
> 
> Ok. Now en_US.UTF-8:
> 
> % export LC_COLLATE=en_US.UTF-8
> % bash -c 'case b in [A-Z]) echo upper;; *) echo lower;; esac'
> upper
> 
> Right. The collation rules for en_US.UTF-8 would likely break build and
> test scripts in lots of packages.
> 
> Relevant bash bug:
> http://savannah.gnu.org/support/index.php?108609

Note bash can set globasciiranges (and will default to that at some stage).
libc is the best place to fix that issue of course. The non ASCII
ranges are fairly daft.

cheers,
Pádraig


More information about the devel mailing list