utf8 encorde php accents code example
Example 1: utf8 encode php
$a = "Não";
echo utf8_encode($a);
Example 2: array unicode php
header('Content-Type: text/html; charset=utf-8');
$a = "Não";
echo utf8_encode($a);
header('Content-Type: text/html; charset=utf-8');