From 8784a766724f315452b24252cb736cc9b4e48766 Mon Sep 17 00:00:00 2001 From: William Toohey Date: Fri, 15 Jun 2018 15:58:32 +1000 Subject: [PATCH] ISO 8859 was also wrong --- kbinxml/kbinxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kbinxml/kbinxml.py b/kbinxml/kbinxml.py index c9c4034..05a099b 100644 --- a/kbinxml/kbinxml.py +++ b/kbinxml/kbinxml.py @@ -28,7 +28,7 @@ BIN_ENCODING = 'cp932' # windows shift-jis variant # NOTE: all of these are their python codec names encoding_strings = { 0x20: 'ASCII', - 0x00: 'ISO-8859-1', + 0x40: 'ISO-8859-1', 0x60: 'EUC_JP', 0x80: 'cp932', 0xA0: 'UTF-8'