components/libxml2/patches/20.EBCDIC.patch
branchs11-update
changeset 2668 be2379d0aa1f
parent 2667 24447a4555e5
child 2669 098e8b6b0df7
equal deleted inserted replaced
2667:24447a4555e5 2668:be2379d0aa1f
     1 --- libxml2-2.7.6/encoding.c
       
     2 +++ libxml2-2.7.6/encoding.c
       
     3 @@ -1460,6 +1460,8 @@
       
     4              if (handler != NULL) return(handler);
       
     5              handler = xmlFindCharEncodingHandler("EBCDIC-US");
       
     6              if (handler != NULL) return(handler);
       
     7 +            handler = xmlFindCharEncodingHandler("IBM-037");
       
     8 +            if (handler != NULL) return(handler);
       
     9  	    break;
       
    10          case XML_CHAR_ENCODING_UCS4BE:
       
    11              handler = xmlFindCharEncodingHandler("ISO-10646-UCS-4");