Skip to content

Commit

Permalink
Change deprecated utf8_encode to mb_convert_encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaziul authored Aug 21, 2024
1 parent b4acbdd commit 35be588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/MultiUploadAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function setUp(): void
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');
}
});
}
Expand Down

0 comments on commit 35be588

Please sign in to comment.