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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 18 11:51:20 UTC 2019


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

Jan-Marek Glogowski <glogow at fbihome.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=12
                   |                            |5498
             Blocks|                            |102495
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Jan-Marek Glogowski <glogow at fbihome.de> ---
This is very likely a duplicate of bug 125498, but I'm not 100% sure, since the
other bug contains a mixture of strange effects.

(In reply to Piotr from comment #0)
> VCL: kde5; Locale: en-US (C); UI-Language: en-US Calc: CL

Thee good thing about this one is that I can reproduce this, if I start LO with
LANG=C, as you do and try to insert a non-ASCII named image, like your
"łąka.png".

There is some problem with the encoding LO expects from the file picker URLs. I
thought it's simple to fix, but I don't understand the encoding yet.

The QUrl from the file picker is definitely correct UTF16 (on dump the name is
correctly displayed in the terminal), but LO expects something else, obviously,
as that's the bug. And dumping the value from
SalGtkFilePicker::getSelectedFiles OUString actually results in glibberish -
WTF?!


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102495
[Bug 102495] [META] KDE VCL backend bugs and enhancements
-- 
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/eb340272/attachment-0001.html>


More information about the Libreoffice-bugs mailing list