removing strange characters from php string

前端 未结 14 1066
忘了有多久
忘了有多久 2021-01-31 17:45

this is what i have right now

Drawing an RSS feed into the php, the raw xml from the rss feed reads:

Paul’s Confidence

The ph

14条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-31 18:18

    Try this:

    $newtitle = html_entity_decode($newtitle, ENT_QUOTES, "UTF-8")
    

    If this is not the solution browse this page http://us2.php.net/manual/en/function.html-entity-decode.php

提交回复
热议问题