Created attachment 147824 [details] Screenshot - CODE error I cannot open files with Chinese filename in This version of Collabora Online Development Edition (CODE) is powered by LOOLWSD 4.0.0 (git hash: 173510f) LOKit Collabora Office 6.0-18 (git hash: e74e598) on Nextcloud. When I renamed the file into English filename it could be opened successfully. The error log of loolwsd is at https://pastebin.com/SugnsUHd Not sure if it is about the language support - when I edit loolwsd.xml there is no zh_TW in the supported language.
Language support in loolwsd.xml means something else. I tried to clarify it in https://gerrit.libreoffice.org/#/c/65636/ Your problem is probably the missing en_US.UTF-8 locale. There is a workaround: on Debian you have to install locales-all package. We explicitly set LC_ALL to en_US.UTF-8 in wsd/LOOLWSD.cpp. Maybe C.UTF-8 would be good, too, but is has to be tested. Without UTF-8 support, LibreOffice cannot handle non-ASCII filenames. Non-ASCII characters are replaced to ? marks, and file will not be found in the subsequent call. I lowered the importance of the bug, because there is a workaround.
(In reply to Andras Timar from comment #1) > Language support in loolwsd.xml means something else. I tried to clarify it > in https://gerrit.libreoffice.org/#/c/65636/ > > Your problem is probably the missing en_US.UTF-8 locale. There is a > workaround: on Debian you have to install locales-all package. > > We explicitly set LC_ALL to en_US.UTF-8 in wsd/LOOLWSD.cpp. Maybe C.UTF-8 > would be good, too, but is has to be tested. Without UTF-8 support, > LibreOffice cannot handle non-ASCII filenames. Non-ASCII characters are > replaced to ? marks, and file will not be found in the subsequent call. > > I lowered the importance of the bug, because there is a workaround. Though the workaround sounds strange to me (like the locale in the server is set to zh_TW.UTF-8, which should also support UTF-8 too), but it does work. Thanks for providing it.
*** Bug 121126 has been marked as a duplicate of this bug. ***
This was fixed in CODE/Collabora Online, marking as WFM.