php string utf8 code example
Example 1: utf8 encode php
$a = "Não";
echo utf8_encode($a);
Example 2: php convert string to utf8
utf8_encode ( string $data )
Example 3: php utf-8
header('Content-Type: text/html; charset=utf-8');
$a = "Não";
echo utf8_encode($a);
utf8_encode ( string $data )
header('Content-Type: text/html; charset=utf-8');