Problem on saving files with special charactes
Hello to all,
I'm greek. I language uses a lot of weird characters. This is one of the most basic problems that we have to handle.
In order to solve the problem that these characters (ά,έ,ί,ϊ,ΐ etc) I duplicated this line of code
and finally made it something like this:
$file->originalName = $name;
$file->name = $this->get_file_name(uniqid(), $type, $index, $content_range);
This makes my life easy because the filename into the hard drive is always a unique number.
The problem that I have is that because I force the "$file->name" to be unique number, the reply of the filename is the unique number instead of the regular name of the file.

This is the proper, I know, But, What I would ideally need is to have the returned name value NOT to be the unique id and to be the initial name.
Thank you in advance
With a proper server setup, there should be no issues with filenames containing any UTF-8 characters. e.g. the demo server (when it is available and not down due to being over quota) accepts any kind of filenames. So do all the example upload implementations, including the PHP upload handler. However, the following might help you further: https://github.com/blueimp/jQuery-File-Upload/wiki/Frequently-Asked-Questions#is-there-a-problem-uploading-files-with-non-ascii-characters-php-windows-server