laradrop
laradrop copied to clipboard
laradrop does not support utf-8 filename saving
Hi, it is great to use laradrop package in laravel 5 project. Unfortunately, it seems laradrop does not support utf-8 filenames. I test it with a chinese 中文.jpg, the file existing in directory seems mess. The english name is ok. Please check it. Thanks!~!
By the way :the filename in the web page is still ok. The only problem is when i inspect uploaded file on the server directory, it looks messy.
Thanks for reporting this. I will look into it.
@jasekz ,for the utf-8 filename saving, currently, my solution was to md5(utf8name) and the filenames on disk is: b5c397d04c47e1e3cc3acc991d07a49f-20161014094544 ,something like that. alias field in database shows the right file name. I think it is enough for me to workaround right now. Anyway, it will be great if laradrop support utf-8 named file on disk. Thanks~!