utf8 encode replacement

This commit is contained in:
Fred Tempez 2023-02-10 11:25:42 +01:00
parent c48da3d7f9
commit 056ce8421a

View File

@ -57,7 +57,7 @@ class helper
? \PHP81_BC\strftime($format, $date) ? \PHP81_BC\strftime($format, $date)
: utf8_encode(\PHP81_BC\strftime($format, $date)); : utf8_encode(\PHP81_BC\strftime($format, $date));
*/ */
return \PHP81_BC\strftime($format, $date); return mb_convert_encoding(\PHP81_BC\strftime($format, $date), 'UTF-8', mb_list_encodings());
} }
/** /**