Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CREATE FUNCTION fixUtf8(str VARCHAR(255)) RETURNS VARCHAR(255)
RETURN CONVERT(CAST(CONVERT(str USING latin1) AS BINARY) USING utf8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.