This cheap ASCII test didn't make sense in Python 3.

Changed it to one that does.