-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a new pull request check it #16
base: master
Are you sure you want to change the base?
Conversation
add a char to the file name to fix chinese.
Update FileController.php
recommit
remove the first '_' added when save to temp folder; hexl 2015-05-09
Bro, I have just tested that and I have not caught that error on my Mac. What OS do you use? |
Windows Seven SP1 simple Chinese |
if the file name is chinese file name, the pathinfo can not get the right file name. |
I have used chinese file name but have not seen any error |
Just now I have tested uploading and downloading on mac os and windows and have not seen that problem. When do you have that error? I can not understand you. My file name is 中文文件名测试.xlsx |
7 years ago?? Are you serious? Which version of the PHP do you use? |
i use 5.4 |
the recent comments about file name |
Are you sure about 5.4? On http://php.net/manual/vote-note.php?id=117298&page=function.pathinfo&vote=up the bug is risen if you use 5.3 |
I'm sure. But i wonder if it's my php.ini or http.conf config error. |
So, do you solved the problem? |
This PR has solved the problem. |
if the file name is chinese, for example: 中文文件名测试.jpg
add '' to the file name when saving it to the move it to the temp folder.
remove the first '' when insert the file name into database.