php mb_convert_encoding utf8 extended code example Example: php convert string to utf8 utf8_encode ( string $data )