Smart curly quotes are the bane of my life and they most commonly cause grieve when users cut and paste from Microsoft Word into a web form and you end up with the funny box shapes. This code was on toao.net and I've just added it to a function. Original found here: http://www.toao.net/48-replacing-smart-quotes-and-em-dashes-in-mysql
↧