From 772869fe103578366a9708d69675ac2a35f32dad Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 8 Nov 2006 09:16:56 +0000 Subject: [PATCH] change htmlCtxtReset() following Michael Day bug report and suggestion. * HTMLparser.c: change htmlCtxtReset() following Michael Day bug report and suggestion. Daniel --- ChangeLog | 5 +++++ HTMLparser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1249ca16..f1f95168 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 8 10:19:27 CET 2006 Daniel Veillard + + * HTMLparser.c: change htmlCtxtReset() following Michael Day bug + report and suggestion. + Mon Nov 6 09:56:41 CET 2006 Daniel Veillard * uri.c: applied patch from Igor for path conversion on Windows diff --git a/HTMLparser.c b/HTMLparser.c index f2d1bd2d..0a5aae91 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -5864,7 +5864,7 @@ htmlCtxtReset(htmlParserCtxtPtr ctxt) ctxt->inSubset = 0; ctxt->errNo = XML_ERR_OK; ctxt->depth = 0; - ctxt->charset = XML_CHAR_ENCODING_UTF8; + ctxt->charset = XML_CHAR_ENCODING_NONE; ctxt->catalogs = NULL; xmlInitNodeInfoSeq(&ctxt->node_seq);