| Summary: | QT warning "Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8." from helpers | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Steve Vialle <steve_v> |
| Component: | Power management & brightness | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | bugs.kde.org, hanyoung, mihais23, natalie_clarius, nate, sitter, smowtenshi |
| Priority: | NOR | ||
| Version First Reported In: | 6.1.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Steve Vialle
2024-10-01 09:44:11 UTC
IIRC this was fixed later in Plasma 6.3. Can you upgrade and see if it goes away? On Plasma 6.3.4, I can confirm this issue.
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
```
[…]
org.kde.kded.smart[2748]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
[…]
org.kde.powerdevil.discretegpuhelper[2888]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
dbus-daemon[1747]: [system] Successfully activated service 'org.kde.powerdevil.discretegpuhelper'
dbus-daemon[1747]: [system] Activating service name='org.kde.powerdevil.chargethresholdhelper' requested by ':1.60' (uid=x pid=2660 comm="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdev") (using servicehelper)
org.kde.powerdevil.chargethresholdhelper[2895]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
dbus-daemon[1747]: [system] Successfully activated service 'org.kde.powerdevil.chargethresholdhelper'
dbus-daemon[1747]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.60' (uid=x pid=2660 comm="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdev") (using servicehelper)
org.kde.powerdevil.backlighthelper[2904]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
dbus-daemon[1747]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
```
As with the OP I am not noticing any bare C locale in output of `locale`, nor in `localectl`, nor in the environ strings of the implicated helper process.
Some earlier version of Plasma did fill my `~/.config/plasma-localerc` with a lot of C locales which caused this warning to appear for all user processes (the related bug #438290 tracks missing "C.UTF-8" option in the kcm) but after fixing that, these warnings still appear in the helper processes.
Let me know what other information I can provide. Thanks!
OK, thanks! The C.UTF-8 locale would need to be applied systemwide. Once it is, this should stop happening. I think that *effectively* makes this a duplicate of Bug 438290. *** This bug has been marked as a duplicate of bug 438290 *** |