Skip to content

Instantly share code, notes, and snippets.

@kenmickles
Created September 14, 2012 21:21
Show Gist options
  • Save kenmickles/3724929 to your computer and use it in GitHub Desktop.
Save kenmickles/3724929 to your computer and use it in GitHub Desktop.
Select MySQL records with non-ASCII characters
SELECT * FROM table WHERE NOT HEX(column) REGEXP '^([0-7][0-9A-F])*$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment