First of all,sorry for my English, I am not good at it.

I found many answer about how to upload utf-8 named file, and many of them suggest installing 'transliteration module' to convert the file name to ASCII (Chinese pinyin, e.g. zhong-wen.txt instead of 中文.txt).

But,the name of file is long, ugly (e.g. zhe-shi-yi-ge-zhong-wen-wen-jian-ming.txt instead of 这是一个中文文件名.txt) and not clear. Actually I must use UTF-8 file name, because my CMS need it! I don't want to use transliteration.

So,is there any way to upload UTF-8 named file in DRUPAL7? like module, 'change code', etc.

Thanks for everyone!

P.S. I have installed Mediawiki and upload many chinese name file. My PHP and APACHE support that. The issue is only in drupal.

Comments

xlsoul’s picture

Version: 7.4 » 7.7
droplet’s picture

xlsoul’s picture

Sorry for my careless reply. I will try it immediately.

xlsoul’s picture

Awesome! That PATCH is ok for my DRUPAL7, Thankyou!

But I have to say it is a very important BUG in DRUPAL, and It must be pay attention to.

xlsoul’s picture

Status: Active » Fixed
droplet’s picture

nps. 沒問題 :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

delete a wrong code