Cleaning up nasty characters in PHP
- by Simon Hume
Hi folks,
Got a little issue where my client is pasting in content from Word into my little text editor in a CMS.
The double quotes are coming back encoded in what looks like some form of UTF.
Any ideas if I can strip/replace these using PHP when they get displayed out of my mySQL table.
Here is the link to the page that spits out the dodgy characters, you can see the 'black diamonds of doom' which are causing the headaches.
http://linq.milkbarstudios.com/news_detail.php?id=3
Any suggestions would be greatly accepted!