From 888e8f0eabf4a2552d3491fae17105ab60faee1a Mon Sep 17 00:00:00 2001 From: Raziul Islam <51883557+iRaziul@users.noreply.github.com> Date: Sun, 17 Dec 2023 11:44:42 +0600 Subject: [PATCH] Update CuratorPanel.php Update deprecated `utf8_encode` function to `mb_convert_encoding` --- src/Components/Modals/CuratorPanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modals/CuratorPanel.php b/src/Components/Modals/CuratorPanel.php index a25ba6bb..d5b831ce 100644 --- a/src/Components/Modals/CuratorPanel.php +++ b/src/Components/Modals/CuratorPanel.php @@ -317,7 +317,7 @@ public function addFilesAction(): Action if (!empty($item['exif'])) { array_walk_recursive($item['exif'], function (&$entry) { if (!mb_detect_encoding($entry, 'utf-8', true)) { - $entry = utf8_encode($entry); + $entry = mb_convert_encoding($entry, 'utf-8'); } }); }