Summary: | Error when opening an epub format ebook with Chinese file name | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Moss <moss-xhfeng> |
Component: | EPub backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, fanng233 |
Priority: | NOR | ||
Version: | 20.12.1 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/okular/commit/5d1d412092ada95da12190ef6738140c6667cbd1 | Version Fixed In: | |
Sentry Crash Report: |
Description
Moss
2022-01-11 17:41:00 UTC
I' m sorry for the inaccurate description of the steps. I meant to choose an epub file with a Chinese name. A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/548 *** Bug 423212 has been marked as a duplicate of this bug. *** Git commit 5d1d412092ada95da12190ef6738140c6667cbd1 by Albert Astals Cid. Committed on 29/01/2022 at 00:42. Pushed by aacid into branch 'release/21.12'. Fix opening epub files with non ascii names on Windows epub_open wants an utf8 in Windows It probably also wants utf8 in Linux, but the qPrintable already gives us an utf8 in most of the normal Linux locales, so don't touch that M +4 -0 generators/epub/epubdocument.cpp https://invent.kde.org/graphics/okular/commit/5d1d412092ada95da12190ef6738140c6667cbd1 |