diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 17:49:47 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 17:50:18 +0200 |
commit | 17dcc4abef4e2415a31bf7072744bdec1f862cd7 (patch) | |
tree | 150d6f4bd8a89a8c338729deb225b02d7d06fbb2 | |
parent | 0fcb2760587d8957ca6df9bd18d5f6a9da2c7c1a (diff) | |
download | rpg-17dcc4abef4e2415a31bf7072744bdec1f862cd7.tar.gz rpg-17dcc4abef4e2415a31bf7072744bdec1f862cd7.tar.bz2 |
decode utf8 filenames in JpegMeta FS#2553
-rw-r--r-- | inc/JpegMeta.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/JpegMeta.php b/inc/JpegMeta.php index ce643a7e6..ba6a2b5bb 100644 --- a/inc/JpegMeta.php +++ b/inc/JpegMeta.php @@ -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) { |