Fix unknown_released_encoding_handler() to work in UTF-16 builds

This commit is contained in:
Rhodri James 2017-08-23 11:41:57 +01:00 committed by Sebastian Pipping
parent de15bfd1dc
commit 84c40c5e61

View File

@ -8682,7 +8682,7 @@ unknown_released_encoding_handler(void *UNUSED_P(data),
const XML_Char *encoding,
XML_Encoding *info)
{
if (!strcmp(encoding, "unsupported-encoding")) {
if (!xcstrcmp(encoding, XCS("unsupported-encoding"))) {
int i;
for (i = 0; i < 256; i++)