diff options
Diffstat (limited to 'inc/io.php')
-rw-r--r-- | inc/io.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/io.php b/inc/io.php index c76d2f44c..4c6eb97df 100644 --- a/inc/io.php +++ b/inc/io.php @@ -485,7 +485,7 @@ function io_download($url,$file,$useAttachment=false,$defaultName='',$maxSize=20 if (is_string($content_disposition) && preg_match('/attachment;\s*filename\s*=\s*"([^"]*)"/i', $content_disposition, $match)) { - $name = basename($match[1]); + $name = utf8_basename($match[1]); } } |