0
我有一個小問題。我正在嘗試處理XML文件,但UTF-8字符編碼不起作用。DomDocument編碼
實施例:
$dom = new DomDocument('1.0', 'UTF-8');
if(!$dom->load($url))
die('There is a problem to getting the source file!');
輸出:
Array(
[league] => Regionalliga Süd
[team1] => WORMATIA WORMS
[team2] => 1. FC NÃœRNBERG II
)
關於此問題的任何建議?
謝謝。其作品。 – 2011-02-19 10:22:23