Bug 322098 - wrong locale check: UTF-8 vs. utf8
Summary: wrong locale check: UTF-8 vs. utf8
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdecore (other bugs)
Version First Reported In: 4.10.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-08 08:30 UTC by Ortwin Glück
Modified: 2018-11-20 08:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ortwin Glück 2013-07-08 08:30:10 UTC
klocale_kde.cpp checks for the string "UTF-8" in the environment, but on Gentoo systems the locales usually end in "utf8" (without dash). Glibc seems to treat both strings as synonyms.

$ locale -a
C
de_CH.utf8
de_DE.utf8
en_US
en_US.iso88591
en_US.utf8
POSIX


This leads to problems when unzipping ZIP files from Windows with Ark with non-ASCII filenames: Dolphin is later unable to access them.

Reproducible: Always
Comment 1 Andrew Crouthamel 2018-11-10 03:17:16 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-20 04:09:35 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Ortwin Glück 2018-11-20 08:08:17 UTC
probably unrelated to the observed problems, don't worry