Web Analytics

PHP mb_convert_encoding() Function

Multibyte StringPHP 4.0.6+

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