1
$fql = 'SELECT name from user where uid = ' . $user;
$result = $this->facebook->api(array(
'method' => 'fql.query',
'query' => $fql,
));
var_dump($result);
我从facebook上选择我的名字,结果没有编码正确Škofja Loka
是Å kofja Loka
。我试图改变这个utf_encode
和utf_decode
,但它不起作用。Fql查询结果中的编码
参见:http://stackoverflow.com/questions/9656029/fql-query-character-encoding – Rikesh