1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

- encoding.c: Robert Collins provided a patch to add the

"US-ASCII" encoding alias
Daniel
This commit is contained in:
Daniel Veillard 2001-05-31 18:22:04 +00:00
parent 97ac13197c
commit 2004242728
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu May 31 20:18:59 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* encoding.c: Robert Collins provided a patch to add the
"US-ASCII" encoding alias
Wed May 30 21:12:45 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xpath.c encoding.[ch]: William M. Brack provided a set of UTF8

View File

@ -1571,6 +1571,7 @@ xmlInitCharEncodingHandlers(void) {
xmlNewCharEncodingHandler("UTF-16BE", UTF16BEToUTF8, UTF8ToUTF16BE);
xmlNewCharEncodingHandler("ISO-8859-1", isolat1ToUTF8, UTF8Toisolat1);
xmlNewCharEncodingHandler("ASCII", asciiToUTF8, UTF8Toascii);
xmlNewCharEncodingHandler("US-ASCII", asciiToUTF8, UTF8Toascii);
#ifdef LIBXML_HTML_ENABLED
xmlNewCharEncodingHandler("HTML", NULL, UTF8ToHtml);
#endif