How to enter Chinese file name??
Added by may857091 may 11 months ago
I need file management for tinymce, to put the "Chinese" filename.
In the DEMO page => http://elrte.org/elfinder/demo
Chinese input is correct,
I downloaded elFinder to my computer, put the tinymce,
Chinese input is error,
Please tell me how to fix this problem?
Thank you!!
demo.jpg - In the DEMO page, Chinese input is correct (381.3 kB)
noChinese.jpg - In the my computer, Chinese input is error (149.8 kB)
Replies (5)
RE: How to enter Chinese file name??
-
Added by Dmitry Levashov 11 months ago
elFinder works only with names in UTF-8
RE: How to enter Chinese file name??
-
Added by Troex Nevelin 11 months ago
Make sure that you have in head:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
And that your file system can normally handle utf-8 filename encodings. Sometimes on Windows server that can create problems, but on linux/unix is almost fine.
RE: How to enter Chinese file name??
-
Added by may857091 may 11 months ago
I had to add this string but it is not effective,
"<meta http-equiv="Content-Type" content="text/html; charset=utf-8">"
My computer is WINDOWS, I put elFinder on LINUX, it can input the "Chinese" filename.
why?? Can use for WINDOWS ?
RE: How to enter Chinese file name??
-
Added by Troex Nevelin 11 months ago
I think the problem is that your windows file system is not using UTF-8.
Probably there should be workaround... but I don't know how to do it. Several other software like Drupal have the same issue under windows with Chinese, Japanese and Arabic characters.
It would be great if you can debug the connector and see where error happens. Maybe you can ask on some Chinese forums about php upload on windows.
RE: How to enter Chinese file name??
-
Added by may857091 may 10 months ago
Thank you for telling me the problem is in PHP upload.
Currently I do not find a solution for PHP upload "Chinese" file name in Chinese Forums.
General upload a file for "Chinese" file name is to changed file name to alphanumeric words.
Then get the original "Chinese" file name to save to "title" and "changed" file name to save to "path" into the database.
In the display, the show file name from the "title" field, link url from the "path" field obtained from the database.
So this must be used with database access.
To modify the package using the above method, I currently do not have this capability.
But thank you for your help.
(1-5/5)