Skip to content

Instantly share code, notes, and snippets.

@MukhtaarAziz
Last active June 18, 2022 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MukhtaarAziz/5f24066c9840d32f29e4f088e7a8967c to your computer and use it in GitHub Desktop.
Save MukhtaarAziz/5f24066c9840d32f29e4f088e7a8967c to your computer and use it in GitHub Desktop.
Mysql Snippets

Mysql Snippets

How to convert wrongly encoded data to UTF-8?

SELECT
    convert(binary convert(<field_name> using latin1) using utf8)
FROM
    <table_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment