core icon indicating copy to clipboard operation
core copied to clipboard

External Storage error with folders containing files and folders with special characters

Open gilaxone opened this issue 13 years ago • 10 comments

The issue https://github.com/owncloud/core/issues/3137 is closed and I can't reopen it, so here is this new one I encounter the same problem with french accent in folder

Configuration : Windows 7 SP1 x64 Apache 2.4.6 Owncloud 5.0.12 PHP 5.4.21 MySQL 5.6

The database is configured with Character set : utf8 -- UTF-8 Unicode and Collation : utf8_general_ci PHP default_charset = "UTF-8"

Can't use local mount via the External Storage App on folders with special characters like accent, the page became blank when the folder from external storage is selected

I've tried with Windows in french and english

Here is the error from log, the real name of the folder is 'Aldébaran' (with a French é)

Fatal PHP SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xE9baran' for column 'logic_path' at row 1 at C:\www\owncloud\lib\db.php#1075

gilaxone avatar Oct 29 '13 18:10 gilaxone

New test with IIS 7.5 Windows 7 SP1 x64 Owncloud 5.0.12 PHP CGI 5.3.24 MySQL 5.6

Same problem

gilaxone avatar Nov 05 '13 16:11 gilaxone

Same Problem but not with external storage.... See this with special characters like § and german umlauts

ForumSchlampe avatar Nov 27 '13 07:11 ForumSchlampe

Same Problem here.

Windows Server 2012 Storage Server 64-bit IIS 8 OC: 6.0.4 PHP 5.4 (5.4.30)

Every folder who i create with the owncloud GUI works fine. But i need the other Partions in windows, and every folder who has a "German ä, ö, ü and so on" fails to open with this error:

Fatal PHP SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xE4test' for column 'logic_path' at row 1 at C:\www\owncloud\lib\db.php#1075

orgeous avatar Jul 11 '14 14:07 orgeous

Copying the mentions from duplicate: @AlexKevler @chackl

nickvergessen avatar Aug 25 '14 08:08 nickvergessen

Same Problem with OC 7.0.2.

Uploads in OC with German Umlauts are shown ok in Webinterface. On Local Storage it´s wrong named. File scanner doesn´t read it on local storage when it is already with umlauts.

chackl avatar Sep 08 '14 09:09 chackl

If I upload a file named tä§$t.txt the file is stored as ta-t.txt for me. So seems to work fine.

nickvergessen avatar Sep 08 '14 10:09 nickvergessen

Yes is stored like that but try it otherwise. So you won´t see the file in OC

chackl avatar Sep 08 '14 10:09 chackl

What do you mean by "try it otherwise"

nickvergessen avatar Sep 08 '14 10:09 nickvergessen

Store the file manually on local storage and let OC try to scan the file or folder. You won´t see it in OC,

chackl avatar Sep 08 '14 10:09 chackl

@gilaxone External local storage works in oC 7.0.2

@chackl copying files into a folder directly is not supported (at least on windows)

nickvergessen avatar Sep 08 '14 13:09 nickvergessen