rcerrejon
1/31/2014 - 11:27 AM

Database replace bad characters to german (umlaut) characters

Database replace bad characters to german (umlaut) characters

/*Database replace bad characters to german characters (SQL)*/
/*replace "pages" with yout table and "title" with your field*/
UPDATE pages SET title=replace(title,'ß', 'ß'), title=replace(title, 'ä', 'ä'), title=replace(title, 'ü', 'ü'), title=replace(title, 'ö', 'ö'), title=replace(title, 'Ä', 'Ä'), title=replace(title, 'Ãœ', 'Ü'), title=replace(title, 'Ö', 'Ö'), title=replace(title, '€', '€'), title=replace(title, '–', '–'), title=replace(title, '“', '“'), title=replace(title, '„', '„'), title=replace(title, '§', '§');