PHP mb_convert_encoding() Function
The mb_convert_encoding() function converts a string from one character encoding to another.
Syntax
mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array|string|false
Try It Online
Output
Click Run to execute your code
Enjoying these tutorials?