From de0217ae001f090dc2c82a49a6c9a88bc37ff6ab Mon Sep 17 00:00:00 2001 From: schengawegga Date: Thu, 21 Sep 2023 09:01:13 +0200 Subject: [PATCH] utf8_check() is deprecated in cron.php --- cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.php b/cron.php index a0f1706..f7403c0 100755 --- a/cron.php +++ b/cron.php @@ -91,7 +91,7 @@ function inspect($file) { // check file encoding for bad utf8 characters - if a bad thing is found convert assuming latin1 as source encoding $text = file_get_contents($out); - if(!utf8_check($text)) { + if(!dokuwiki\Utf8\Clean::isUtf8($text)) { $text = utf8_encode($text); file_put_contents($out, $text); }