Created
February 27, 2025 19:48
-
-
Save WilliamSampaio/cba59367f633f4c12b1d3b7191a1fe8f to your computer and use it in GitHub Desktop.
Convert latin1 to UTF8 (MySQL)
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
| SELECT | |
| convert(cast(convert(t.field using latin1) as binary) using utf8) | |
| FROM table t; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment