https://bugs.kde.org/show_bug.cgi?id=496076
Bug ID: 496076 Summary: Broken locales when only LANG is defined in plasma-localerc Classification: Applications Product: systemsettings Version: master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: m...@aidanharr.is Target Milestone: --- When only LANG is defined in plasma-localerc, locales get set like this: $ locale LANG=en_GB.UTF-8 LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C This breaks locales and results in cryptic error messages like: iconv: illegal input sequence at position 32 Error converting string from ANSI_X3.4-1968 to UTF-8 I don't know why my plasma-localerc was set like this, maybe a hangover from a previous version of KDE or something that wasn't migrated right but changing the region to American English and back again fixed it and resulted in the following changes to my configs: $ sudo snapper -cconfig diff 6624..6626 | less -rf --- /home/ahrs/.config/.snapshots/6624/snapshot/plasma-localerc 2020-03-31 23:57:53.539048957 +0000 +++ /home/ahrs/.config/.snapshots/6626/snapshot/plasma-localerc 2024-11-11 06:20:25.784709014 +0000 @@ -1,2 +1,12 @@ [Formats] -LANG=en_GB.UTF-8 +LC_ADDRESS=en_GB.UTF-8 +LC_MEASUREMENT=en_GB.UTF-8 +LC_MONETARY=en_GB.UTF-8 +LC_NAME=en_GB.UTF-8 +LC_NUMERIC=en_GB.UTF-8 +LC_PAPER=en_GB.UTF-8 +LC_TELEPHONE=en_GB.UTF-8 +LC_TIME=en_GB.UTF-8 + +[Translations] +LANGUAGE=en_GB Is this something that can be migrated automatically somehow? Presumably there are other users in this situation too. -- You are receiving this mail because: You are watching all bug changes.