
MySQL Fix Smart Quotes
By:
qwidjib0 on
Dec 8th, 2011 | syntax:
MySQL | size: 0.21 KB | hits: 409 | expires: Never
UPDATE articles SET text = REPLACE(text,'“','"');
UPDATE articles SET text = REPLACE(text,'”','"');
UPDATE articles SET text = REPLACE(text,"‘","'");
UPDATE articles SET text = REPLACE(text,"’","'");