Problems with accented characters

Added by Fabio Yuiti Goto about 1 year ago

Hi! Just discovered and started playing with elrte and elfinder.

I'm thinking of using elrte+elfinder to replace tinyMCE in my projects.

But I've stumbled upon one problem: Whenever I put a file with an accented character in its name, the File Browser crashes. Like, the toolbar doesn't load, and elRTE doesn't show any files. Also, when I upload a file with an accented char through elRTE, the file gets uploaded, but the filename "breaks".

An example would be:
- I want to upload the file "ninféias.jpg";
- The file is uploaded and renamed on the server as "ninféias.jpg", this way the file is shown in elFinder and the correct name is shown;
- But if I put the file "ninféias.jpg" or rename it like this, toolbar doesn't load and elFinder gets broken;

Since I've got a lot of files in my uploaded folder, I need to get a workaround for this.

Is there a way to do it?

Thanks!


Replies (3)

RE: Problems with accented characters - Added by Troex Nevelin about 1 year ago

What charset are you using? elFinder supports only UTF-8, can you test it on demo?

RE: Problems with accented characters - Added by Timo Beil 11 months ago

Have the same problem here.

Uploading the file "ninféias.jpg" via elrte it will shown fine, but looking on the server in the filesystem a file called "ninféias.jpg" is created.

But if I place a file "ninféias.jpg" directly on the server in the directory, I get the same results like Fabio in elrte, no folders and files and no toolbar is shown.

RE: Problems with accented characters - Added by Troex Nevelin 11 months ago

Looks like your server is using wrong charset, file names stored on the server must be in UTF-8 encoding. Usually such when you are running windows xp.

(1-3/3)