Allow specifying unicode_errors handling