[Bug 257972] collating sequence not sensible in some locales

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 20 Aug 2021 16:48:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257972

--- Comment #5 from Helge Oldach <freebsd@oldach.net> ---
More fun with ISO8859 variants:

# (echo Bla; echo bla) | LANG=en_US.ISO8859-1 grep '[A-Z]'
Bla
bla
# (echo Bla; echo bla) | LANG=en_US.ISO8859-15 grep '[A-Z]'
Bla
bla
# (echo Bla; echo bla) | LANG=en_US.ISO8859-11 grep '[A-Z]'
Bla
#

Even better: it seems only 1 and 15 are, err, "special":

# seq 1 16 | while read f; do echo $f; (echo Bla; echo bla) |
LANG=en_US.ISO8859-$f grep '[A-Z]'; done
1
Bla
bla
2
Bla
3
Bla
4
Bla
5
Bla
6
Bla
7
Bla
8
Bla
9
Bla
10
Bla
11
Bla
12
Bla
13
Bla
14
Bla
15
Bla
bla
16
Bla
#

-- 
You are receiving this mail because:
You are the assignee for the bug.