ascii-tyrant.sh strips non-ascii characters from text files.
--- /dev/null
+#!/bin/bash
+
+# 1. translate curly single quotes into regular single quotes
+# 2. translate other kind of curly single quotes into regular single quotes
+# 3. translate em-dashes into '--'
+# 4. translate curly start double quotes into regular double quotes
+# 5. translate curly end double quotes into regular double quotes
+cat | \
+sed "s/\xe2\x80\x98/'/" | \
+sed "s/\xe2\x80\x99/'/" | \
+sed "s/\xe2\x80\x93/--/" | \
+sed 's/\xe2\x80\x9c/"/' | \
+sed 's/\xe2\x80\x9d/"/' | \
+cat -
+