php convert characters to utf 8 code example
Example 1: php set charset utf 8
header('Content-Type: text/html; charset=utf-8');
Example 2: php convert string to utf8
utf8_encode ( string $data )
header('Content-Type: text/html; charset=utf-8');
utf8_encode ( string $data )