0

I use WAMP server and ElFinder 2.x, it works fine except for filenames are encoded in UTF-8 when uploaded, so they look like Список предприятий ВРК123.xlsx in Windows Explorer. It's OK, but it would be nice to be able to copy files with unicode filename to ElFinder's folder via Windows Explorer.

As far as I know NTFS uses UTF-16. nao-pon answered here that one needs to set encoding, locale in connector options for multi-byte encodings. I've tried to set these options to 'UTF-16' and 'ru_RU.UTF-16', but ElFinder cannot load folder at all then and gives Invalid backend configuration. Readable volumes not available error.

UPD: it works fine with 'encoding' => 'CP1251' but well... it doesn't list files with names like 한자.txt.

Winand
  • 2,093
  • 3
  • 28
  • 48
  • There is Windows code page list. https://msdn.microsoft.com/ru-ru/library/windows/desktop/dd317756%28v=vs.85%29.aspx – nao-pon Dec 04 '15 at 08:47
  • @nao-pon i'm pretty sure the problem is http://stackoverflow.com/a/2051018/1119602 – Winand Dec 14 '15 at 08:43

0 Answers0