-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-24 09:06, Axel Braun wrote:
Am Freitag, 24. März 2017, 04:49:17 CET schrieb Andrei Borzenkov:
As you see "corrupted" file names it in bash, go in bash and show output of "locale".
Indeed. Sorry. As user sees: docb@T520:~> locale LANG=de_DE.UTF-8
root sees: T520:~ # locale LANG=POSIX LC_CTYPE=POSIX
There you have the problem for root displaying those names.
Definition for RC_LC_CTYPE: # This defines the locale for character handling and classification. # The libc uses this value in language dependent function calls, such # as e.g. uppercase/lowercase mapping of foreign characters.
and ROOT_USES_LANG: # This defines if the user "root" should use the locale settings # which are defined here. # Value "ctype" means that root uses just LC_CTYPE. # Value "yes" means that root uses the full settings..
So, in theory, root should use de_DE.UTF-8 as well. In fact he does not.
I changed the value to 'yes', and in this case the RC_Lang for root is set to UTF-8. Everything is good.
This leads to 2 conclusions: - an expert should have a look at the language settings, how ROOT_USES_LANG is supposed to work - for non-English installations, ROOT_USES_LANG="yes" is probably the better default.
Well, no, because then man pages default to non English, and most are non translated. Same happens to the output of many commands. I prefer the admin to use English. - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljV09wACgkQja8UbcUWM1wa1wD/VO4yusYXi8szcbzaRakXk+SV rFh7KjJcz13oUtyEXD4A/39UwvQ7GtuALjJeGrnQFT7xQ1MHF3dMlL6jP4scrYi2 =nw6C -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org