[opensuse-support] Charset fun in Tumbleweed/KDE
Hello, 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... 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= (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. Does someone have an idea which change introduced this problem, and how I can fix it? 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="" RC_LANG was originally set to "". I changed it to "de_DE.UTF-8", but that didn't change anything. Regards, Christian Boltz -- URLs: absurd lange Worte die man nicht umbrechen darf [David Haller] -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
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/
Op zaterdag 21 maart 2020 21:34:00 CET schreef Christian Boltz:
Hello,
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...
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=
(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.
Does someone have an idea which change introduced this problem, and how I can fix it?
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=""
RC_LANG was originally set to "". I changed it to "de_DE.UTF-8", but that didn't change anything.
Regards,
Christian Boltz To start with: ~/.config/plasma-localerc
-- Gertjan Lettink a.k.a. Knurpht openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hello, Am Samstag, 21. März 2020, 22:04:26 CET schrieb Knurpht-openSUSE:
To start with: ~/.config/plasma-localerc
That was a good guess: # cat plasma-localerc [Formats] LANG=de_DE@euro [Translations] LANGUAGE= but interestingly: -rw-r--r-- 1 cb users 52 27. Sep 2018 plasma-localerc No idea why it's suddenly honored, after being ignored for more than a year... Anyway - I just changed that file to LANG=de_DE.UTF-8 I'll see tomorrow if it helped ;-) Regards, Christian Boltz -- Reason why a bot: the bot is just less 'stressed' any makes less mistakes for such obvious things. And people can discuss with the bot as much as they want. [Dominique Leuenberger in opensuse-packaging] -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Il 22/03/20 19:10, Christian Boltz ha scritto:
Hello,
Am Samstag, 21. März 2020, 22:04:26 CET schrieb Knurpht-openSUSE:
To start with: ~/.config/plasma-localerc
That was a good guess:
# cat plasma-localerc [Formats] LANG=de_DE@euro
[Translations] LANGUAGE=
but interestingly: -rw-r--r-- 1 cb users 52 27. Sep 2018 plasma-localerc
No idea why it's suddenly honored, after being ignored for more than a year...
Anyway - I just changed that file to LANG=de_DE.UTF-8 I'll see tomorrow if it helped ;-)
Regards,
Christian Boltz
Good night, Dunno if what I'm facing could be partially related to what you are talking here. Since one of the latest system updates (DUP) I start to see some FAILED messages at boot which I have not been able to get rid of. I Googled and I see that there is a bug-report on this issue which is set as resolved but for me is not. https://bugzilla.opensuse.org/show_bug.cgi?id=1055834#c112 systemd[1]: Failed to start Setup Virtual Console. systemd[1]: Dependency failed for dracut ask for additional cmdline parameters. systemd-vconsole-setup[231]: /usr/bin/loadkeys failed with exit status 1. systemd-udevd[321]: vtcon1: Process '/usr/lib/systemd/systemd-vconsole-setup' failed with exit code 1. I know this issue has started by the release of latest kbd version, I've not changed any settings on my system. rpm -qi kbd Name : kbd Version : 2.2.0 Release : 1.1 Architecture: x86_64: cat /etc/vconsole.conf KEYMAP=br-abnt2 FONT=eurlatgr.psfu FONT_MAP= FONT_UNIMAP= localectl System Locale: LANG=it_IT.UTF-8 VC Keymap: br-abnt2 X11 Layout: br X11 Model: abnt2 X11 Options: terminate:ctrl_alt_bksp locale LANG=it_IT.UTF-8 LC_CTYPE="it_IT.UTF-8" LC_NUMERIC="it_IT.UTF-8" LC_TIME="it_IT.UTF-8" LC_COLLATE="it_IT.UTF-8" LC_MONETARY="it_IT.UTF-8" LC_MESSAGES="it_IT.UTF-8" LC_PAPER="it_IT.UTF-8" LC_NAME="it_IT.UTF-8" LC_ADDRESS="it_IT.UTF-8" LC_TELEPHONE="it_IT.UTF-8" LC_MEASUREMENT="it_IT.UTF-8" LC_IDENTIFICATION="it_IT.UTF-8" LC_ALL= If something else is facing same errors messages at boot, please advise. Thanks and regards, -- Marco Calistri Build: openSUSE Tumbleweed 20200319 Kernel: 5.5.9-1-default - Cinnamon 3.8.9 -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hello, Am Montag, 23. März 2020, 06:12:07 CET schrieb Marco Calistri:
Il 22/03/20 19:10, Christian Boltz ha scritto:
Am Samstag, 21. März 2020, 22:04:26 CET schrieb Knurpht-openSUSE:
To start with: ~/.config/plasma-localerc
No idea why it's suddenly honored, after being ignored for more than a year...
Anyway - I just changed that file to LANG=de_DE.UTF-8 I'll see tomorrow if it helped ;-)
I still don't know why KDE suddenly started to honor that file - but changing it helped, and I have utf-8 locale again :-)
Dunno if what I'm facing could be partially related to what you are talking here.
IMHO it's unrelated - AFAIK vconsole-setup is for tty1 etc., but unrelated to a graphical desktop.
Since one of the latest system updates (DUP) I start to see some FAILED messages at boot which I have not been able to get rid of.
I Googled and I see that there is a bug-report on this issue which is set as resolved but for me is not.
I'm not sure if this is related, but even if - a bugreport that was fixed a year ago shouldn't be relevant for tumbleweed anymore (well, except if a bug comes back ;-)
systemd[1]: Failed to start Setup Virtual Console. systemd[1]: Dependency failed for dracut ask for additional cmdline parameters. systemd-vconsole-setup[231]: /usr/bin/loadkeys failed with exit status 1. systemd-udevd[321]: vtcon1: Process '/usr/lib/systemd/systemd-vconsole-setup' failed with exit code 1.
To give you a starting point - please check (as root) systemctl status systemd-vconsole-setup to get some more details (like an error message from loadkeys). Regards, Christian Boltz -- "Golden rule of Sourcecode: 50% are comments, and the other 50% bugs!" -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hello, Am Montag, 23. März 2020, 14:11:29 CET schrieb Christian Boltz:
To give you a starting point - please check (as root) systemctl status systemd-vconsole-setup to get some more details (like an error message from loadkeys).
The following mail from the factory ML (from Frank Krüger) is probably more helpful: --- Re: [opensuse-factory] Keyboard layout for LUKS passphrase suddenly changed back to US [...] Maybe you are hit by https://bugzilla.opensuse.org/show_bug.cgi?id=1166423. In my case, as a workaround, changing "de-latin1-nodeadkeys" to "de-nodeadkeys" in /etc/vconsole.conf solves the issue (after mkinitrd, reboot). See also https://bugzilla.opensuse.org/show_bug.cgi?id=1106673 Hope this helps. Regards, Frank --- Regards, Christian Boltz --
Again, apt is dead, there is no maintainership upstream -- let's leave this sinking ship NOW. Don't forget we are on the sea and not at the harbour. So leaving the ship will end in the water as long as the new ship is not ready. [> Christoph Thiel and Eberhard Moenkeberg in opensuse]
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Il 23/03/20 18:10, Christian Boltz ha scritto:
Hello,
Am Montag, 23. März 2020, 14:11:29 CET schrieb Christian Boltz:
To give you a starting point - please check (as root) systemctl status systemd-vconsole-setup to get some more details (like an error message from loadkeys).
The following mail from the factory ML (from Frank Krüger) is probably more helpful:
--- Re: [opensuse-factory] Keyboard layout for LUKS passphrase suddenly changed back to US [...] Maybe you are hit by https://bugzilla.opensuse.org/show_bug.cgi?id=1166423. In my case, as a workaround, changing "de-latin1-nodeadkeys" to "de-nodeadkeys" in /etc/vconsole.conf solves the issue (after mkinitrd, reboot).
See also https://bugzilla.opensuse.org/show_bug.cgi?id=1106673
Hope this helps.
Regards, Frank ---
Regards,
Christian Boltz
Thanks, I will follow the guidelines you sent here. BTW I read some users talking about new kbd as the root cause of this issue. -- Marco Calistri Build: openSUSE Tumbleweed 20200320 Kernel: 5.5.9-1-default - Cinnamon 3.8.9 -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Il 23/03/20 18:10, Christian Boltz ha scritto:
Hello,
The following mail from the factory ML (from Frank Krüger) is probably more helpful: Maybe you are hit by https://bugzilla.opensuse.org/show_bug.cgi?id=1166423. In my case, as a workaround, changing "de-latin1-nodeadkeys" to "de-nodeadkeys" in /etc/vconsole.conf solves the issue (after mkinitrd, reboot).
See also https://bugzilla.opensuse.org/show_bug.cgi?id=1106673
Hope this helps.
Regards, Frank ---
Regards,
Christian Boltz
Nothing to do for me I'm Italian using LANG IT and a pt-br-abnt2 keyboard. Something has get broken in one of the last updates related to keymap/keyboard. Cheers, -- Marco Calistri Build: openSUSE Tumbleweed 20200322 Kernel: 5.5.9-1-default - Cinnamon 3.8.9 -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2020-03-21 a las 21:34 +0100, Christian Boltz escribió: ...
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=
(de_DE@euro means iso-8859-15 instead of utf-8 :-( )
That's funny, I use es_ES@euro for somethings and I get UTF :-? - -- Cheers Carlos E. R. (from openSUSE 15.1 (Legolas)) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXnaH9Rwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVdksAnA+zqHtaQAnfsLydtxOV KAPMRsp8AJ422T2GW1BvFIhWvhVsxRP90IlgSA== =EsFy -----END PGP SIGNATURE-----
22.03.2020 00:32, Carlos E. R. пишет:
El 2020-03-21 a las 21:34 +0100, Christian Boltz escribió:
...
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=
(de_DE@euro means iso-8859-15 instead of utf-8 :-( )
That's funny, I use es_ES@euro for somethings and I get UTF :-?
bor@tw:~> LC_ALL=es_ES@euro locale -c charmap LC_CTYPE ISO-8859-15 bor@tw:~>
On 22/03/2020 06.39, Andrei Borzenkov wrote:
22.03.2020 00:32, Carlos E. R. пишет:
El 2020-03-21 a las 21:34 +0100, Christian Boltz escribió:
...
(de_DE@euro means iso-8859-15 instead of utf-8 :-( )
That's funny, I use es_ES@euro for somethings and I get UTF :-?
bor@tw:~> LC_ALL=es_ES@euro locale -c charmap LC_CTYPE ISO-8859-15 bor@tw:~>
Thanks. I will change the locale in all my machines appropriately. Didn't know that test. Although LC_TYPE is not the one I change, that one is: LC_CTYPE="en_US.utf8" cer@Elesar:~> locale -c charmap LC_CTYPE UTF-8 cer@Elesar:~> cer@Telcontar:~> locale -c charmap LC_CTYPE UTF-8 cer@Telcontar:~> I had: cer@Telcontar:~> locale LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC=es_ES@euro LC_TIME=en_DK.UTF-8 LC_COLLATE="en_US.utf8" LC_MONETARY=es_ES@euro LC_MESSAGES="en_US.utf8" LC_PAPER=es_ES@euro LC_NAME=es_ES@euro LC_ADDRESS="en_US.utf8" LC_TELEPHONE=es_ES@euro LC_MEASUREMENT=es_ES@euro LC_IDENTIFICATION="en_US.utf8" LC_ALL= cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
participants (6)
-
Andrei Borzenkov
-
Carlos E. R.
-
Christian Boltz
-
Knurpht-openSUSE
-
Marco Calistri
-
Vojtěch Zeisek