-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folder or File with French Accents as first letter in filename or foldername problem #236
Comments
I did a lot of test and it's probably related to basename() you may want to replace it by another function... |
Search and replace on all files of basename( by preg_replace( '/^.+[\/]/', '', and it's now working.... |
preg_replace( '/^.+[\ \ \ \ \ \ /]/', '', \ without the spaces.... |
Got the very same problem with spanish character as well (second position - try Títulos as a file name). Any easy way to patch basename globally ? |
tomyou can search and replace in all .php files (recursive) in your owncloud folder using AWK or (notepad++ for exemple on windows) what: basename( Temporary fix =-) |
I tried with 4.5.2 and the following files without problem: |
Upgraded to 4.5.2 and still not working. Can you provide more information on your server's configuration? version, dist, locale, etc |
root@ownCloud:/var/www# locale Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> SELECT @@lc_time_names; mysql> |
localeLANG=en_US.UTF8 uname -aLinux mx 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/Linux mysql -u root -pEnter password: This software comes with ABSOLUTELY NO WARRANTY. This is free software, Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> select @@lc_time_names; Have you confirmed that the locale en_CA is fully installed? There was a bug quite a while ago around incomplete locale installations. |
I switched to 4.5.2 - will report. There is still an issue with "Títulos". Extract from my logs : msrex, did you try with an OSX client ? the problem is on the client side, definitively.. |
I will try with a server in "en_US" to see the difference, I'll let you know |
@ravens @tommyatkadx do you have php-intl installed and enabled? |
Yes, on squeeze. My Linux client is not affected. Yan (iPhon'd) Le 16 nov. 2012 à 20:33, Bart Visscher [email protected] a écrit :
|
On MacOS I ran into some issues, but they might be related to using a self-built version of the client. I will try again after the next client-release. But It is clearly client-only, on the server it works fine, it syncs down to the client, and then on the re-upload it starts to act strange. |
looks like I have similar issue with russian locale (on client). |
@mickvav According to your log entries: please disable the gallery app. |
@tommyatkadx Can I ask you to give 4.5.4 a try? THX |
I'm experiencing a similar issue. Test:
The filename is corrent in the filesystem and the _filecache path column. The _filecache name column is only 'a'. |
@dphi strange |
Chrome 23 I saw a similar issue while uploading folders via the owncloud sync client. (Windows) Another hint: Changing the name attribute from 'a' to 'Üa' solves the issue. |
Which collation is used within mysql? |
utf8_general_ci, it should all be set to the default values. |
it works here with sqlite - will test with mysql these days |
Still the same issue... |
I moved the data now to a different VM running Ubuntu 12.04 and de_DE.UTF-8 as the default locale. The mysql db was dumped to the system. The umlaut issue is gone now. I'll keep the other VM around for a while in case I can help to debug something with it. |
How big is the VM image? Personal data on it? THX |
You've got mail. |
en_US.UTF8 must be installed for now - otherwise any non-ascii characters will work. |
I will try it with en_US.UTF8 From: Thomas Müller en_US.UTF8 must be installed for now - otherwise any non-ascii characters will work. — |
If I have a folder, or a file, with a french accents, it's working great.
The file is going to the server, I can see it from the owncloud webpage, I also can "play" it if it's an mp3 file. Everything is working like expected.
When the first letter of the folder or file name is a french accent, it's not working.
The accent is not showing in the web browser, and if I click on the folder or file in the web browser, it get back to owncloud home page.
If I look in my server in the data folder, I can see that both folders and files are present, I can rename it and make them works...
When I have one file or folder in error (with a starting accent char), a "slave" syncing client will stop syncing, with 404 not found on this folder/file
The text was updated successfully, but these errors were encountered: