[Libreoffice-bugs] [Bug 125971] Image import in KDE LibreOffice fails if filename contains non-latin characters

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 18 18:15:32 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125971

--- Comment #7 from Jan-Marek Glogowski <glogow at fbihome.de> ---
Just opening the file is a KDE only problem, that I can fix / work around. But
then there will be much more problems. I've created bug 125971 for that.

I'll fix this eventually by using

OUString aNewURL =
uri::ExternalUriReferenceTranslator::create(m_xContext)->translateToInternal(toOUString(aURL.toEncoded()));

but strictly speaking this should be somewhow handled correctly in
INetURLObject.

Then the fix will just be to use aURL.toEncoded() instead of aURL.toString().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190618/a802e771/attachment.html>


More information about the Libreoffice-bugs mailing list