Skip to content

Instantly share code, notes, and snippets.

@girishsalaskar
Last active December 14, 2019 03:34
Show Gist options
  • Save girishsalaskar/9dbe9da536a3f4c62e528ecccdd28e67 to your computer and use it in GitHub Desktop.
Save girishsalaskar/9dbe9da536a3f4c62e528ecccdd28e67 to your computer and use it in GitHub Desktop.
Messed up varchar after/before importing into mysql db (See more here : https://codewander.blogspot.com/2019/12/recover-messed-uplost-utf-8-characters.html )
UPDATE tblName set varcharCol = CONVERT(CAST(varcharCol AS BINARY) USING utf8) where pid=1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment