The :mod:`XML parser <pyexpat>` now raises :exc:`ValueError` for known unsupported multi-byte encodings such us "UTF8", "ISO-2022-JP" or "raw-unicode-escape" instead of failing later, when encounter non-ASCII data.
The :mod:`XML parser <pyexpat>` now raises :exc:`ValueError` for known unsupported multi-byte encodings such us "UTF8", "ISO-2022-JP" or "raw-unicode-escape" instead of failing later, when encounter non-ASCII data.