-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-27 09:44, Axel Braun wrote:
Am Montag, 27. März 2017, 09:36:39 CEST schrieb Philipp Thomas:
* Carlos E. R. (robin.listas@telefonica.net) [20170325 15:44]:
LC_CTYPE=en_US.UTF-8
the rest is posix
And that is sensible. Note that setting locale for root to posix was done on purpose mainly because sorting behaves according to locale so a regex like [a-z] only works as expected when sorting is done according to posix. Still today many scripts silently assume a posix locale instead of either setting the affecting locale fascet or using something like [::lower::] which Posix introduced for exactly thios case.
....then the admin should make sure the script works before he runs it.
For a normal user the broken UTF8-characters are more of a problem than a sort that may behave different (reminds me that Python has a Natsort-Lib for this - I assume that deals exactly with this problem).
So, if we want to focus on useability, we should challenge the 'by purpose'.
Maybe the default should be changed to add "LC_CTYPE=en_US.UTF-8" as I do. Or something similar. - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljY5D4ACgkQja8UbcUWM1xrTgD+NYYd6HnGTIrhgA+Uq3njE8k+ N/P4TRdW6JkVRJU7gh8BAJwoe2apIjrQzMGmK81c73DtpzHj//hFMLGadr0Qf+B9 =2t8Z -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org