如何將其轉換爲PHP或smarty的可讀字符串?URL包含「" M ä ä s "」ASCII,HEX它是什麼?以及如何轉換它?
(必須是容易的,因爲我看到這個編輯器將其轉換爲可讀的字符串,而不做任何事情)從標題
樣品是從該字符串:
正下方Wer ist am Wochenende alles an der "Määs" anzutreffen?
的字符串寫權利:
Wer ist am Wochenende alles an der "Määs" anzutreffen?
我有這個問題,試圖包括一個Facebook的RSS提要。如果您想了解更多的這些還有更多這類字符串在這裏我們去:
http://www.facebook.com/feeds/page.php?format=atom10&id=113971395284126
in smarty「$ arr.title | html_entity_decode:$ smarty.const.ENT_QUOTES:'utf -8'| wordwrap:60「完成這項工作。所以它似乎html_entity_decode()工作正常,但htmlspecialchars_decode()不 – caramba
不知道smarty,如果這對你很好。直接PHP我得到了上面列出的結果。 – spacebean