以下代码存在问题。
var_dump($name);
$name = mb_strtolower($name);
var_dump($name);
输出结果为
string(32) "brazil and technology, São Paulo"
string(32) "brazil and technology, s�o paulo"
请问为什么我的代码中出现了无效字符ã?我做错了什么吗?
mb_detect_encoding($name) says its UTF-8