diff --git a/packages/playground/data-liberation-static-files-editor/plugin.php b/packages/playground/data-liberation-static-files-editor/plugin.php index dc64c63f1a..657f41b486 100644 --- a/packages/playground/data-liberation-static-files-editor/plugin.php +++ b/packages/playground/data-liberation-static-files-editor/plugin.php @@ -391,7 +391,7 @@ static public function download_file_endpoint($request) { // Set headers for file download header('Content-Type: application/octet-stream'); - header('Content-Disposition: attachment; filename="' . $filename . '"'); + header("Content-Disposition: attachment; filename=UTF-8''" . urlencode($filename)); header('Content-Length: ' . $filesize); header('Cache-Control: no-cache');