Hi,
to avoid following errors during libxml2 test suite:
---
Failed to parse ./test/ebcdic_566012.xml
File ./test/ebcdic_566012.xml generated an error
---
we are applying attached patch file.
Can something like this be committed into main libxml2 repo?
Thanks,
Petr
--- libxml2-2.7.6/encoding.c
+++ libxml2-2.7.6/encoding.c
@@ -1460,6 +1460,8 @@
if (handler != NULL) return(handler);
handler = xmlFindCharEncodingHandler("EBCDIC-US");
if (handler != NULL) return(handler);
+ handler = xmlFindCharEncodingHandler("IBM-037");
+ if (handler != NULL) return(handler);
break;
case XML_CHAR_ENCODING_UCS4BE:
handler = xmlFindCharEncodingHandler("ISO-10646-UCS-4");
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml