Better Unicode handling in errors.