Apache OpenOffice (AOO) Bugzilla – Issue 112896
Unicode characters in a filename at the templates site are truncated
Last modified: 2017-05-20 11:33:20 UTC
The first unicode characters in a filename are truncated at http://templates.services.openoffice.org . For example if the file name is "ффф_ццц.ott", after uploading to the templates site it is altered to "_ццц.ott". For example, see here: http://templates.services.openoffice.org/ru/node/4187 In this example the original filename was "Спецификация.ott", but, after uploading, the part before the first separator (the dot) was omitted and it turned to "ott". If the first character were "_" ("_Спецификация.ott"), then the filename is not changed after uploading to the site.
started
The good on this is, that the filedownload works :-) Culprint is in drupal: file_check_upload() which uses basename() Known issue: http://drupal.org/node/278425 Workarounded by setting setlocale(LC_ALL, 'en_US.UTF8'); Hope it works better now, without breaking something...
Please verify and close if it works; I tested with "Спецификация.ott" document: - upload preserves filename - download is with the uploaded filename - delete of file also works
verified
Thank you. Close.
The issue still occurs. I just uploaded a new extension with filename "Текст по кругу.otg", and it was converted to " по кругу.otg" (see http://templates.services.openoffice.org/ru/node/4735)
reassigned
Reset assigne to the default "issues@openoffice.apache.org".