/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] ASCII String with Hex Entities

I am trying to convert the below string:

[code]
Content Management (and more!) for CICPO’s Website
[/code]

to this:

[code]
Content Management (and more!) for CICPO’s Website
[/code]

It doesn’t have to go to the ‘ exactly and can go to any HTML entity. Also, it isn’t limited to just ’ and it can be just about anything…..I haven’t a sweet clue how to do it…can somebody help me in any way, shape or form?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@MindzaiOct 27.2009 — [code=php]
$string = "Content Management (and more!) for CICPO’s Website";
echo html_entity_decode($string);
[/code]
Copy linkTweet thisAlerts:
@aj_nscauthorOct 27.2009 — Thanks!
×

Success!

Help @aj_nsc spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...