[libxml2] 566012 Incomplete EBCDIC parsing support



commit c78988acb7b9b629ddae4f758d78f163ca6df532
Author: Martin Kögler <mkoegler auto tuwien ac at>
Date:   Mon Aug 24 16:47:48 2009 +0200

    566012  Incomplete EBCDIC parsing support
    
    * encoding.c: the iconv converter is sometimes only found as "EBCDIC-US"

 encoding.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/encoding.c b/encoding.c
index e2df797..5b73fe6 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1458,6 +1458,8 @@ xmlGetCharEncodingHandler(xmlCharEncoding enc) {
             if (handler != NULL) return(handler);
             handler = xmlFindCharEncodingHandler("ebcdic");
             if (handler != NULL) return(handler);
+            handler = xmlFindCharEncodingHandler("EBCDIC-US");
+            if (handler != NULL) return(handler);
 	    break;
         case XML_CHAR_ENCODING_UCS4BE:
             handler = xmlFindCharEncodingHandler("ISO-10646-UCS-4");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]