anshuwap / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

automatically changes Chinese file name to English file name #345

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Network file system does not support Chinese names, even setup 
"convert_filenames" => "UTF-8", Mollify still can not upload, write Chinese 
name.

-What is the expected output? What do you see instead?
I hope that when the Chinese name of the file upload, automatically change the 
file name, such as
"chinese file name.jpg" => "$userID + uniqid().jpg"

-What version of the product are you using? On what operating system?
Windows7
PHP 5.3.1
MySQL 5.1.41
Mollify 1.8.6.1 + Plupload plugin 1.0.6 

Original issue reported on code.google.com by g2m.ag...@gmail.com on 7 Jan 2012 at 3:09

GoogleCodeExporter commented 9 years ago
You have misunderstood the conversion concept. The value for 
"convert_filenames" is not what you want to convert TO, but it's the FROM. 
Mollify needs UTF8 so that goes without saying, you just need to tell what is 
the charset in your system.

See this thread for example 
https://groups.google.com/group/mollified/browse_thread/thread/11c3ca38f6b00c55?
hl=en

Original comment by samuli.j...@gmail.com on 8 Jan 2012 at 11:37