SUMMARY When starting Okular from command line with "--find" parameter, if there is a diacritic character as "--find" input, the result search will show a missing character STEPS TO REPRODUCE 1. okular SomeFile.pdf --find "éxãmplë" OBSERVED RESULT "?x?mpl?" is the Find input EXPECTED RESULT "example" is the Find input SOFTWARE/OS VERSIONS OS: ArchLinux Linux: 5.4.70-1-lts Qt Version: 5.15.1-3 ADDITIONAL INFORMATION I use Okular in synergy with Recoll, so it's important that the Find input to be preserved.
Confirmed for all Unicode (non-ASCII) strings and git/master.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/301
Git commit af526819937e31e525718ed93fbb65905e80d26b by Albert Astals Cid. Committed on 24/10/2020 at 23:11. Pushed by ngraham into branch 'release/20.08'. Support more than latin1 chars on --find command line option M +2 -2 shell/shellutils.cpp https://invent.kde.org/graphics/okular/commit/af526819937e31e525718ed93fbb65905e80d26b