On Sun, Nov 06, 2016 at 01:26:51PM +0100, Mark Martinec wrote: > 2016-11-06 12:07, Baptiste Daroussin wrote: > > Yes A-Z only means uppercase in an ASCII only world in a unicode world > > it means > > AaBb... Z because there are way more characters that simple A-Z. In > > FreeBSD 11 > > we have a unicode collation instead of falling back in on LC_COLLATE=C > > which > > means ascii only > > > > For regrexp for example one should use the classes: :upper: or :lower:. > > It is a good idea to keep LC_COLLATE and LC_NUMERIC (and LC_MONETARY?) at > "C" > when LANG or LC_CTYPE is set to something else, otherwise unexpected > things may happen. >
In scripts clearly, the collation rules, numeric rules and monetary rules may vary depending on the locale. Best regards, Bapt
signature.asc
Description: PGP signature