Created
January 12, 2018 16:07
-
-
Save walkerdigital/6bc3e56ef9b2ace9395e897788e383d4 to your computer and use it in GitHub Desktop.
Clean MySQL field of hidden formatting / characters (ie. Microsoft Word)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE `table` SET `field` = CONVERT(BINARY CONVERT(`field` USING latin1) USING utf8); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment