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

Try IBM-037 when looking for EBCDIC handlers

http://en.wikipedia.org/wiki/EBCDIC_037
as it is another variat of EBCDIC
This commit is contained in:
Petr Sumbera 2012-12-12 15:41:30 +08:00 committed by Daniel Veillard
parent 8123c4f692
commit 6f49c73b53

View File

@ -1517,6 +1517,8 @@ xmlGetCharEncodingHandler(xmlCharEncoding enc) {
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");