[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=432406 Nate Graham changed: What|Removed |Added Version Fixed In||5.79 -- You are receiving this mail because:

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-05 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 Tusooa Zhu changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|---

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-05 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 --- Comment #12 from Tusooa Zhu --- Git commit 423bea37e4bb06b9c04a62a9a91b720ec5d5e3d5 by Tusooa Zhu. Committed on 04/02/2021 at 23:06. Pushed by tusooaw into branch 'master'. Use Q_LOGGING_CATEGORY macro instead of explicit QLoggingCategory

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 --- Comment #11 from Tusooa Zhu --- (In reply to Nate Graham from comment #10) > Tusooa meant that the branch has not yet been merged to master. The > hookscript got confused because the branch was not prefixed with work/, so > it interpreted the Bug:

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=432406 Nate Graham changed: What|Removed |Added Ever confirmed|1 |0 CC|

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Luigi Toscano
https://bugs.kde.org/show_bug.cgi?id=432406 Luigi Toscano changed: What|Removed |Added Resolution|--- |FIXED CC|

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 Tusooa Zhu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 Tusooa Zhu changed: What|Removed |Added Latest Commit||https://invent.kde.org/fram |

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 Tusooa Zhu changed: What|Removed |Added Assignee|dolphin-bugs-n...@kde.org |tus...@vista.aero Status|REPORTED

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 --- Comment #5 from Tusooa Zhu --- I used the following code to override ucnv_getDefaultName() to call std::terminate() and thus allow us to get a backtrace: ``` #include extern "C" const char *ucnv_getDefaultName(void) { std::terminate();

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 --- Comment #4 from Tusooa Zhu --- Created attachment 135421 --> https://bugs.kde.org/attachment.cgi?id=135421=edit Backtrace with the dolphin and kio I compiled in Debug mode -- You are receiving this mail because: You are watching all bug

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-04 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 --- Comment #3 from Tusooa Zhu --- Created attachment 135420 --> https://bugs.kde.org/attachment.cgi?id=135420=edit Backtrace with /usr/bin/dolphin and system kio -- You are receiving this mail because: You are watching all bug changes.

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-03 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 --- Comment #2 from Tusooa Zhu --- QTextCodec gets the charset from ucnv_getDefaultName() which will return "US-ASCII" if setlocale(LC_ALL, "") is not called before that. https://bugreports.qt.io/browse/QTBUG-57522 describes how this case may happen.

[dolphin] [Bug 432406] Cannot open file with non-ascii name when LC_ALL is not set

2021-02-03 Thread Tusooa Zhu
https://bugs.kde.org/show_bug.cgi?id=432406 --- Comment #1 from Tusooa Zhu --- With no LC_ALL=en_CA.UTF-8, codec is "US-ASCII" mibEnum= 3 locale is "en_CA" , "en-CA" With LC_ALL=en_CA.UTF-8 the codec is set to UTF-8. Not sure why. -- You are receiving this mail because: You are watching