UTF-8 locale in rpm build

Lars Seipel lars.seipel at gmail.com
Mon May 11 03:43:56 UTC 2015


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


More information about the devel mailing list