From 4fd31454221c7d4b4dc7577ec6bed1cc73af04f3 Mon Sep 17 00:00:00 2001 From: zhouzhongyuan Date: Fri, 6 Sep 2019 16:52:23 +0800 Subject: [PATCH] fix error tips in xmlTextWriterStartDocument --- xmlwriter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 xmlwriter.c diff --git a/xmlwriter.c b/xmlwriter.c old mode 100644 new mode 100755 index b5cd171f..c1cde0e5 --- a/xmlwriter.c +++ b/xmlwriter.c @@ -542,7 +542,7 @@ xmlTextWriterStartDocument(xmlTextWriterPtr writer, const char *version, encoder = xmlFindCharEncodingHandler(encoding); if (encoder == NULL) { xmlWriterErrMsg(writer, XML_ERR_NO_MEMORY, - "xmlTextWriterStartDocument : out of memory!\n"); + "xmlTextWriterStartDocument : invalid or unsupported encoding!\n"); return -1; } } -- GitLab