Fix test_french_utf8() to work in
@@ -721,7 +721,12 @@ START_TEST(test_french_utf8)
const char *text =
"<?xml version='1.0' encoding='utf-8'?>\n"
"<doc>\xC3\xA9</doc>";
- run_character_check(text, "\xC3\xA9");
+#ifdef XML_UNICODE
+ const XML_Char *expected = XCS("\x00e9");
+#else
+ const XML_Char *expected = XCS("\xC3\xA9");
+#endif
+ run_character_check(text, expected);
}
END_TEST
