Handle unicode in exceptions.