Skip to content
Snippets Groups Projects
Commit 17dcc4ab authored by Andreas Gohr's avatar Andreas Gohr
Browse files

decode utf8 filenames in JpegMeta FS#2553

parent 0fcb2760
No related branches found
No related tags found
No related merge requests found
......@@ -1209,7 +1209,7 @@ class JpegMeta {
function _parseFileInfo() {
if (file_exists($this->_fileName) && is_file($this->_fileName)) {
$this->_info['file'] = array();
$this->_info['file']['Name'] = utf8_basename($this->_fileName);
$this->_info['file']['Name'] = utf8_decodeFN(utf8_basename($this->_fileName));
$this->_info['file']['Path'] = fullpath($this->_fileName);
$this->_info['file']['Size'] = filesize($this->_fileName);
if ($this->_info['file']['Size'] < 1024) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment