Created
February 7, 2013 22:54
-
-
Save mikebuchanon/4734976 to your computer and use it in GitHub Desktop.
Find Moodle topic headings with problematic utf-8 characters
This file contains 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 mc.shortname, mcs.name | |
from mdl_course_sections mcs | |
join mdl_course mc on mc.id=mcs.course | |
where mcs.name like E'%\xe2\x80\x93%' --en dash | |
or mcs.name like E'%\xe2\x80\x94%' --em dash | |
or mcs.name like E'%\xe2\x80\x9c%' --left double quote | |
or mcs.name like E'%\xe2\x80\x9d%' --right double quote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment