Version: unspecified (using KDE 4.3.5) OS: Linux Okular's inverse search does not function (no jump from DVI to TeX) in the following case: DVI is supplied with specials for inverse search, e.g. by latexing with -src-specials option and the path to TeX file, indicated in the specials, contains non-latin characters (in my system LANG=ru_RU.UTF-8). For example, let the full file path be /home/user/Проба/test.tex Then inverse search in Okular works properly for dvi-file given by latex -src-specials test.tex and inverse search does not work for dvi-file given by latex -src-specials /home/user/Проба/test.tex Reproducible: Always
Could you please attach a tar.gz with all the needed files to easily try to reproduce the bug?
Created attachment 48626 [details] Sample TeX file with a non-latin name. To be compiled with "latex -src-specials тест.tex". Inverse search in the resulting dvi file does not work.
Created attachment 48794 [details] Missing utf8 convertion in a string The changement is at the line 520.
Next time attach a svn diff output not the whole file ;-)
SVN commit 1149143 by aacid: Interpret the char as utf8, fixes inverse search from dvi to tex not working if tex-file's path indicated in dvi contains non-latin letters Patch by mathieu lornac BUGS: 243473 M +1 -1 dviRenderer_prescan.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1149143
SVN commit 1149144 by aacid: Backport r1149143 | aacid | 2010-07-12 19:26:02 +0100 (Mon, 12 Jul 2010) | 4 lines Interpret the char as utf8, fixes inverse search from dvi to tex not working if tex-file's path indicated in dvi contains non-latin letters Patch by mathieu lornac BUGS: 243473 M +1 -1 dviRenderer_prescan.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1149144