Dne sobota 21. března 2020 21:34:00 CET, Christian Boltz napsal(a):
I use Tumbleweed with KDE (in case it matters: autologin is enabled) One of the tumbleweed updates in the last weeks caused some charset "fun" for me - my KDE session switched from utf-8 to iso-8859-15, and that causes quite some fun...
I don't see such change, so I'd look into Your KDE settings.
AFAIK the breakage was introduced somewhere between 2020-02-10 15:19:03|install|openSUSE-release|20200207-444.1|x86_64|| repo-oss| b046c3318cf79350b2a3f82f15a68082753209c626a8dbc39b15641f7407cedd| and 2020-03-08 21:55:38|install|openSUSE-release|20200307-481.1|x86_64|| repo-oss| bf71546d6f33eecea3515f4a6dfecef7ced08c766ff3ee83415c126a5b764138| (I skipped the snapshots in between, and sadly that makes it much harder to find out which change (and which package) causes my problem.) For example, I see in Konsole: # locale LANG=de_DE@euro LC_CTYPE="de_DE@euro" LC_NUMERIC="de_DE@euro" LC_TIME="de_DE@euro" LC_COLLATE="de_DE@euro" LC_MONETARY="de_DE@euro" LC_MESSAGES="de_DE@euro" LC_PAPER="de_DE@euro" LC_NAME="de_DE@euro" LC_ADDRESS="de_DE@euro" LC_TELEPHONE="de_DE@euro" LC_MEASUREMENT="de_DE@euro" LC_IDENTIFICATION="de_DE@euro" LC_ALL=
LANG=cs_CZ.UTF-8 LC_CTYPE="cs_CZ.UTF-8" LC_NUMERIC="cs_CZ.UTF-8" LC_TIME="cs_CZ.UTF-8" LC_COLLATE="cs_CZ.UTF-8" LC_MONETARY="cs_CZ.UTF-8" LC_MESSAGES="cs_CZ.UTF-8" LC_PAPER="cs_CZ.UTF-8" LC_NAME="cs_CZ.UTF-8" LC_ADDRESS="cs_CZ.UTF-8" LC_TELEPHONE="cs_CZ.UTF-8" LC_MEASUREMENT="cs_CZ.UTF-8" LC_IDENTIFICATION="cs_CZ.UTF-8" LC_ALL=
(de_DE@euro means iso-8859-15 instead of utf-8 :-( ) A quite visible result is that I see "M�r" (with the infamous questionmark on black background) instead of the expected "Mär" for the month in the ls -l output. Of course that's only the tip of the iceberg, there's encoding "fun" in various (especially console) programs. This seems to affect the whole KDE session, not only Konsole - for example, I've also seen mis-encoded german umlauts in the Gnucash status bar today. If I login on tty1, the locale is set to de_DE.UTF-8 as expected.
Did You check locales setting in KDE Control Center? If it does affect only KDE... Well... does it? What about another GUI or account?
Does someone have an idea which change introduced this problem, and how I can fix it?
I'd also check language settings in YaST in case there is something similar.
In case it matters: # grep ^[^#] /etc/sysconfig/language INPUT_METHOD="" RC_LANG="de_DE.UTF-8" RC_LC_ALL="" RC_LC_MESSAGES="" RC_LC_CTYPE="" RC_LC_COLLATE="" RC_LC_TIME="" RC_LC_NUMERIC="" RC_LC_MONETARY="" RC_LC_PAPER="" ROOT_USES_LANG="ctype" AUTO_DETECT_UTF8="no" INSTALLED_LANGUAGES=""
INPUT_METHOD="" RC_LANG="" RC_LC_ALL="" RC_LC_MESSAGES="" RC_LC_CTYPE="" RC_LC_COLLATE="" RC_LC_TIME="" RC_LC_NUMERIC="" RC_LC_MONETARY="" RC_LC_PAPER="" ROOT_USES_LANG="ctype" AUTO_DETECT_UTF8="no" INSTALLED_LANGUAGES="cs_CZ"
RC_LANG was originally set to "". I changed it to "de_DE.UTF-8", but that didn't change anything.
IMHO if something was *written* with the wrong locale, it won't be reverted, i.e. as soon as You are sure You are running wit correct locale, I'm afraid You'd have to overwrite things somehow (with enca or something like that?). -- Vojtěch Zeisek https://trapa.cz/ Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux https://www.opensuse.org/