From 9261dd1fec06b588957800a3a91f4df65c68bf25 Mon Sep 17 00:00:00 2001 From: yoonian Date: Tue, 22 Jul 2014 14:09:43 +0900 Subject: [PATCH 1/4] Prevent from warning message box in case of EUC-KR Just remove below message Errors occurred while converting ErrorCode.h with EUC-KR encoding. WARNING: Continue to load this file using EUC-KR, malformed data will be ignored. Press "Cancel" to choose another encoding manually. --- ConvertToUTF8.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ConvertToUTF8.py b/ConvertToUTF8.py index cf73055..b514b22 100644 --- a/ConvertToUTF8.py +++ b/ConvertToUTF8.py @@ -24,6 +24,7 @@ 'GBK': 'GB18030', 'BIG5': 'CP950', # CP950 is common in Taiwan 'CP950': 'BIG5-HKSCS' # HK official Big5 variant + 'CP949': 'EUC-KR' # CP949 is a superset of euc-kr! } SETTINGS = {} From 23be112ad73c73c73fee7de67d744e7efb22ab84 Mon Sep 17 00:00:00 2001 From: yoonian Date: Tue, 22 Jul 2014 14:32:53 +0900 Subject: [PATCH 2/4] Prevent warning message during converting cp949 file Just remove below message. Errors occurred while converting your file with EUC-KR encoding. WARNING: Continue to load this file using EUC-KR, malformed data will be ignored. Press "Cancel" to choose another encoding manually. --- ConvertToUTF8.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConvertToUTF8.py b/ConvertToUTF8.py index b514b22..a76256c 100644 --- a/ConvertToUTF8.py +++ b/ConvertToUTF8.py @@ -23,8 +23,8 @@ 'GB2312': 'GBK', 'GBK': 'GB18030', 'BIG5': 'CP950', # CP950 is common in Taiwan - 'CP950': 'BIG5-HKSCS' # HK official Big5 variant - 'CP949': 'EUC-KR' # CP949 is a superset of euc-kr! + 'CP950': 'BIG5-HKSCS', # HK official Big5 variant + 'EUC-KR': 'CP949' # CP949 is a superset of euc-kr! } SETTINGS = {} From 2d7055f204f8324ba02641eb9e34b5db05da8cbc Mon Sep 17 00:00:00 2001 From: yoonian Date: Tue, 22 Jul 2014 14:38:11 +0900 Subject: [PATCH 3/4] Revert "Prevent warning message during converting cp949 file" This reverts commit 23be112ad73c73c73fee7de67d744e7efb22ab84. --- ConvertToUTF8.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConvertToUTF8.py b/ConvertToUTF8.py index a76256c..b514b22 100644 --- a/ConvertToUTF8.py +++ b/ConvertToUTF8.py @@ -23,8 +23,8 @@ 'GB2312': 'GBK', 'GBK': 'GB18030', 'BIG5': 'CP950', # CP950 is common in Taiwan - 'CP950': 'BIG5-HKSCS', # HK official Big5 variant - 'EUC-KR': 'CP949' # CP949 is a superset of euc-kr! + 'CP950': 'BIG5-HKSCS' # HK official Big5 variant + 'CP949': 'EUC-KR' # CP949 is a superset of euc-kr! } SETTINGS = {} From 2451a8644a2b681fadf29871bb9e4351ecd6ca5c Mon Sep 17 00:00:00 2001 From: yoonian Date: Tue, 22 Jul 2014 14:38:17 +0900 Subject: [PATCH 4/4] Revert "Revert "Prevent warning message during converting cp949 file"" This reverts commit 2d7055f204f8324ba02641eb9e34b5db05da8cbc. --- ConvertToUTF8.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConvertToUTF8.py b/ConvertToUTF8.py index b514b22..a76256c 100644 --- a/ConvertToUTF8.py +++ b/ConvertToUTF8.py @@ -23,8 +23,8 @@ 'GB2312': 'GBK', 'GBK': 'GB18030', 'BIG5': 'CP950', # CP950 is common in Taiwan - 'CP950': 'BIG5-HKSCS' # HK official Big5 variant - 'CP949': 'EUC-KR' # CP949 is a superset of euc-kr! + 'CP950': 'BIG5-HKSCS', # HK official Big5 variant + 'EUC-KR': 'CP949' # CP949 is a superset of euc-kr! } SETTINGS = {}