[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set
Tusooa Zhu
bugzilla_noreply at kde.org
Fri Feb 5 13:04:09 GMT 2021
https://bugs.kde.org/show_bug.cgi?id=432406
Tusooa Zhu <tusooa at vista.aero> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REPORTED |RESOLVED
Resolution|--- |FIXED
Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
|eworks/kio/commit/b3b545bb4 |eworks/kio/commit/0a13e0a3e
|7b2dfbff3f88a60c0922bdb589f |830be2b2b2e5c2c6cf8cef25bd6
|20ce |8bd8
--- Comment #13 from Tusooa Zhu <tusooa at vista.aero> ---
Git commit 0a13e0a3e830be2b2b2e5c2c6cf8cef25bd68bd8 by Tusooa Zhu.
Committed on 04/02/2021 at 14:45.
Pushed by tusooaw into branch 'master'.
Fix default codec being set to "US-ASCII" in KIO apps
>From https://doc.qt.io/qt-5/qloggingcategory.html#Q_LOGGING_CATEGORY-1 :
"The implicitly-defined QLoggingCategory object is created on first use,
in a thread-safe manner."
The original way to explicitly define a static QLoggingCategory will lead
to a call to ucnv_getDefaultName() before QApplication constructor (where
setlocale() is called), thus making QTextCodec::codecForLocale() misbehave.
Here we replace the explicit definition with the Q_LOGGING_CATEGORY macro,
and thus avoid this problem.
M +1 -1 src/widgets/kdirmodel.cpp
https://invent.kde.org/frameworks/kio/commit/0a13e0a3e830be2b2b2e5c2c6cf8cef25bd68bd8
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list