commit | d2f3ec780daad35104c41f80746e473a9aa82ac8 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Wed Apr 11 07:50:02 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Wed Apr 11 07:50:02 2001 +0000 |
tree | 35e5df86ef0de20a9deadbc1d365f88031851d2a | |
parent | 1731d6ae0a5258e8e07f780c74694c2dde093383 [diff] [blame] |
- tree.c: xmlNewDoc was missing the charset initialization - xmllint.c: added --auto to autogenerate a doc, allow to reproduce the problem fixed on xmlNewDoc Daniel
diff --git a/tree.c b/tree.c index 5c5fb8d..4efe36a 100644 --- a/tree.c +++ b/tree.c
@@ -477,6 +477,7 @@ cur->standalone = -1; cur->compression = -1; /* not initialized */ cur->doc = cur; + cur->charset = XML_CHAR_ENCODING_UTF8; return(cur); }