Locale error message

I am getting this error in some programs (ksshaskpass, for example)

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.


The output of the locale command is this:
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_AT.UTF-8
LC_TIME=de_AT.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_AT.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_AT.UTF-8
LC_NAME=de_AT.UTF-8
LC_ADDRESS=de_AT.UTF-8
LC_TELEPHONE=de_AT.UTF-8
LC_MEASUREMENT=en_AT.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


Output of rpm-ostree status
State: idle
Deployments:
* ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
                   Digest: sha256:9f60c326f72c3127abcd800cf58907422976d9840860f8a9572b725f0659c4e0
                  Version: 42.20250708.1 (2025-07-08T23:56:01Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
                   Digest: sha256:9f60c326f72c3127abcd800cf58907422976d9840860f8a9572b725f0659c4e0
                  Version: 42.20250708.1 (2025-07-08T23:56:01Z)


Other system details:
Operating System: Bazzite 42
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-106.bazzite.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 64 GiB of RAM (62,4 GiB usable)
Graphics Processor: AMD Radeon RX 7800 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D70
System Version: 1.0
Was this page helpful?