Bug 114758 - Can't open files when name contains german umlauts
Summary: Can't open files when name contains german umlauts
Status: CLOSED FIXED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-30 02:04 UTC by Benjamin Dörr
Modified: 2018-03-13 23:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Original error message (german) (41.54 KB, image/png)
2017-12-30 02:04 UTC, Benjamin Dörr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Dörr 2017-12-30 02:04:28 UTC
Created attachment 138739 [details]
Original error message (german)

LOOL seems to have issues opening files which contain germany umlauts (ÄäÖöÜü).

Setup: CODE (compiled from source) integrated with nextcloud


Versions:

Nextcloud: 12.0.4 (stable)
Libreoffice: cp-5.3-36 bb5e55d
LOOL: CODE-3.0.0 81c8935

Steps to reproduce:

1. Create a new docuemnt in nextcloud with the name "täst.odt"
2. Click to open it in LOOL

Expexted behaviour: Document is opened and can be edited,

Actual behaviour: LOOL opens and shows an error-message (something along the lines of "loading failed, please check if the document type is supported and the file isn't broken" - see screenshot for the original german errormessage).

I found this in the server-logs: "Failed to load: file:///user/docs/HgJF7HWvuf5pJ8t1/t%C3%A4st.odt, error: Unsupported URL <file:///user/docs/HgJF7HWvuf5pJ8t1/t%C3%A4st.odt>: "type detection failed"| kit/Kit.cpp:1484"

Note that as a workaround it is possible to rename the file, than edit it, and rename it back to it's original name afterwards.

I think this issue might be related to one of the following:

Bug 101581 - Files with names containing diacritics can't be opened in LOOL
Bug 107051 - WOPI Error if german umlaute in domain
Comment 1 Benjamin Dörr 2017-12-30 02:08:18 UTC
Sorry, I didn't mention this in my original post: This affects Writer, Calc and Impress.
Comment 2 Andras Timar 2018-03-13 10:47:03 UTC
I cannot reproduce this. Are you sure you have locale support on your test box? I.e., Bug 101581 was solved by simply installing locales-all package (on Ubuntu).
Comment 3 Benjamin Dörr 2018-03-13 23:46:08 UTC
While I do have locales properly configured as far as I can tell, I recently updated to nextcloud 13 and CODE 3.1.0.
I just checked and I can't reproduce the issue anymore either.

Thanks for having looked into it.