UTF8 encode wrong characters php code example Example: utf8 encode php $a = "Não"; echo utf8_encode($a);