Skip to content

Instantly share code, notes, and snippets.

@Zmoki
Created June 28, 2012 14:55
Show Gist options
  • Select an option

  • Save Zmoki/3011796 to your computer and use it in GitHub Desktop.

Select an option

Save Zmoki/3011796 to your computer and use it in GitHub Desktop.
Convert text encoded with latin1 to utf8 in MySQL
UPDATE table SET col = CONVERT(CONVERT(CONVERT(col USING latin1) USING binary) using utf8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment