I have learning portal(LMS) where I will upload documents, images, videos etc to create content. If the file being uploaded has a chinese name then it is not getting uploaded. Instead a corrupted file with junk name is uploaded.
For example, I tried to upload a file named 地球科学.jpg. But on the server I got this file as 地çƒç§‘å¦.jpg. Also the uploaded file is corrupted in the server.
I want this file to get upload with the same name on the server.
Because I want to search for these files and reuse later for creating content.
FYI:
I have XAMPP server installed on Windows XP.
Chinese, Korean, and Japanese language packs installed.
Thanks for your answers.
AFAIK ntfs can’t handle some characters on the filesystem. I would suggest to store the file with a generic name.
for example you could create a table with two columns: name and file, as name you save the original name, and as file you set something like md5(name).