1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

closed bug #61054 Daniel

* parserInternals.c: closed bug #61054
Daniel
This commit is contained in:
Daniel Veillard
2001-10-04 14:25:12 +00:00
parent 5e6d10ae90
commit 7dd0570d4e
2 changed files with 5 additions and 1 deletions

View File

@ -1782,7 +1782,7 @@ xmlSwitchToEncoding(xmlParserCtxtPtr ctxt, xmlCharEncodingHandlerPtr handler)
(!strcmp(handler->name, "UTF-8")) &&
(ctxt->input->cur[0] == 0xEF) &&
(ctxt->input->cur[1] == 0xBB) &&
(ctxt->input->cur[1] == 0xBF)) {
(ctxt->input->cur[2] == 0xBF)) {
ctxt->input->cur += 3;
}