bravo14 Posted April 26, 2014 Share Posted April 26, 2014 Hi I am using the HTML editor elrte from elrte.org, it is simple in its setup and use, the only issue I have is at any special characters like £ are not being converted to the HTML so when I echo them from the database, the characters are shown as squares with question marks in. Is there a way I can do this with PHP. I have tried using htmlentities() and htmlspecialchars() but they convert every item including the <> around the tags Quote Link to comment https://forums.phpfreaks.com/topic/288037-elrte-not-converting-special-characters/ Share on other sites More sharing options...
hakimserwa Posted April 26, 2014 Share Posted April 26, 2014 set the charset in the head of you document to UTF-8 this will solve your problem Quote Link to comment https://forums.phpfreaks.com/topic/288037-elrte-not-converting-special-characters/#findComment-1477403 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.