Revert "Hacks to suppress unicode exceptions."

This reverts commit 51129739d163a86ef8da737e17285c196754a47a.