Skip to content

Instantly share code, notes, and snippets.

@renepardon
Created September 22, 2017 12:14
Show Gist options
  • Save renepardon/642e60f3181a5793779c7768e47abe42 to your computer and use it in GitHub Desktop.
Save renepardon/642e60f3181a5793779c7768e47abe42 to your computer and use it in GitHub Desktop.
Converting broken data to UTF8 with MySQL
UPDATE <table> SET <column> = CONVERT(BINARY CONVERT(<column> USING latin1) USING utf8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment