STEPS TO REPRODUCE 1. Get a djvu file with any kind of non-ASCII characters in the filename 2. Try to open it in Okular, from Windows Explorer or with File->Open 3. Get the error message OBSERVED RESULT "Could not open file:///D:/ebooki/Японский за 4 месяца (Химия и жизнь 1977).djvu" EXPECTED RESULT Properly opening and rendering the file. SOFTWARE/OS VERSIONS Windows: Windows 10 1909 (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.67.0 Qt Version: 5.14.0 ADDITIONAL INFORMATION PDF and FB2 files are opened correctly, this only seems to affect DjVu.
works on linux
I can take a look at that. I assume the ddjvu_document_create_by_filename isn't working like intended on Windows.
Git commit bb53266430aee995288fca92ec4cc5376fd4c2e3 by Christoph Cullmann. Committed on 07/06/2020 at 11:26. Pushed by cullmann into branch 'bug/422500'. allow unicode filenames to work on Windows, too M +3 -3 generators/djvu/kdjvu.cpp https://invent.kde.org/graphics/okular/commit/bb53266430aee995288fca92ec4cc5376fd4c2e3
https://invent.kde.org/graphics/okular/-/merge_requests/191 Still needs to be merged.
Git commit 3ad9fc7028bba05f6d9fbee7f5e3c18bcdd42264 by Christoph Cullmann. Committed on 07/06/2020 at 11:52. Pushed by aacid into branch 'release/20.04'. allow unicode filenames to work on Windows, too M +3 -3 generators/djvu/kdjvu.cpp https://invent.kde.org/graphics/okular/commit/3ad9fc7028bba05f6d9fbee7f5e3c18bcdd42264
*** Bug 423212 has been marked as a duplicate of this bug. ***