From d6be33cbbb6694fcb97afa82ba1233b42a9a45a4 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 20 Nov 2016 08:30:30 +0000 Subject: [PATCH] Avoid UTF8 warning in mod/proxy.php --- mod/proxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/proxy.php b/mod/proxy.php index f2a7c30eac..de2810dd78 100644 --- a/mod/proxy.php +++ b/mod/proxy.php @@ -264,7 +264,7 @@ function proxy_url($url, $writemode = false, $size = '') { } // Image URL may have encoded ampersands for display which aren't desirable for proxy - $url = html_entity_decode($url, ENT_NOQUOTES, 'UTF8'); + $url = html_entity_decode($url, ENT_NOQUOTES, 'utf-8'); // Creating a sub directory to reduce the amount of files in the cache directory $basepath = $a->get_basepath() . '/proxy'; -- 2.39.5