0
我用使用simplexml_load_file加載用戶的tweetPHP解碼數據從UTF8到Windows 1256
http://twitter.com/statuses/user_timeline/userid.xml?count=44
我得到的數據使用UTF-8編碼
我怎樣才能數據轉換爲Windows的1256
我用使用simplexml_load_file加載用戶的tweetPHP解碼數據從UTF8到Windows 1256
http://twitter.com/statuses/user_timeline/userid.xml?count=44
我得到的數據使用UTF-8編碼
我怎樣才能數據轉換爲Windows的1256
iconv("UTF-8", "Windows-1256//TRANSLIT", $string);
http://php.net/iconv – 2012-03-25 15:09:23
http://php.net/mb_convert_encoding too too – 2012-03-25 15:14:43