phpeter Posted October 9, 2010 Share Posted October 9, 2010 The output of my script is something like "Android Chief On Windows Phone 7: “The World Doesn’t Need Another Platformâ€" I've tried using htmlentities and htmlspecialchars to convert the original text (left/right pointing quotation marks and apostrophes instead of straight ones), but I still get the weird characters. Link to comment https://forums.phpfreaks.com/topic/215510-htmlentities-and-htmlspecialchars-not-working/ Share on other sites More sharing options...
joel24 Posted October 9, 2010 Share Posted October 9, 2010 if you're using html_entities to encode you'll need to use html_entity_decode() to decode or if you're using html_specialchars() to encode, use html_specialchars_decode() Link to comment https://forums.phpfreaks.com/topic/215510-htmlentities-and-htmlspecialchars-not-working/#findComment-1120669 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.