Character encoding
From FileRun Documentation
As PHP 5 does not have support for filenames containing multibyte characters, FileRun can only handle UTF-8 encoded filenames. The following configuration that needs to be set inside "/path-to-filerun/customizables/config.php" will automatically convert the user input to UTF-8:
$config['app']['encoding']['convert']['fromHTML'] = array( "from" => "UTF-8", "to" => "UTF-8" ); $config['app']['encoding']['convert']['toHTML'] = array( "from" => "UTF-8", "to" => "UTF-8" );
Although the original character encoding will not be preserved, the file and folder names and any other text the user might input it will be displayed properly in the browser.
Zip archives
As FileRun will not alter in any ways the contents of the uploaded files, the filenames inside Zip archives will preserve their natural character encoding. To be able to handle these filenames correctly, FileRun needs to identify the character set and convert it to UTF-8. In order to achieve that you need to provide some hints on the probable used encoding. You can define a list of encodings inside the "/path-to-filerun/customizables/config.php" configuration file, like this:
$config['app']['encoding']['detect'] = "ASCII, UTF-8, BIG-5, EUC-CN"; //this is an example that should help detect Chinese encodings
You can find here "http://www.php.net/manual/en/function.mb-list-encodings.php" the list of encodings that PHP can currently detect.
