<table><tr><td style="">mludwig created this revision.<br />mludwig added a reviewer: Okular.<br />Restricted Application added a project: Okular.<br />mludwig requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9937" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Okular source references don't work on Windows at the moment when synctex is involved (compiled with MSVC 2017).</p>

<p>The problem seems to originate from the fact that the wchar_t versions of PathFindFileName and PathFindExtension are automatically used.<br />
However, path names are given in an 8-bit encoding to synctex (QFile::encodeName) and the synctex code is really only prepared for 8-bit encodings.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9937" rel="noreferrer">https://phabricator.kde.org/D9937</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>core/synctex/patches/16-use-windows-ansi-api-path-find.diff<br />
core/synctex/synctex_parser_utils.c</div></div></div><br /><div><strong>To: </strong>mludwig, Okular<br /><strong>Cc: </strong>michaelweghorn, gassaf, ngraham, aacid<br /></div>