Re #182 Not receiving email alerts

Converting post or comment contents to ascii when they're printed to
the log when the debugging option is on.
Merge branch 'master' into production