From 61beb431d146f3c6b6738541812f4cb916a24002 Mon Sep 17 00:00:00 2001 From: di3online Date: Fri, 18 Apr 2014 14:18:24 +0800 Subject: [PATCH] =?UTF-8?q?add=20charset=20=E2=80=98GBK=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GB18030 contains GBK, GBK contains gb2312. --- src/vmime/platforms/windows/windowsCodepages.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vmime/platforms/windows/windowsCodepages.hpp b/src/vmime/platforms/windows/windowsCodepages.hpp index dfd6afdd..e66b2303 100644 --- a/src/vmime/platforms/windows/windowsCodepages.hpp +++ b/src/vmime/platforms/windows/windowsCodepages.hpp @@ -57,6 +57,7 @@ public: if (stricmp(s8_Name, "EUC-JP") == 0) return 20932; if (stricmp(s8_Name, "euc-kr") == 0) return 51949; if (stricmp(s8_Name, "GB18030") == 0) return 54936; + if (stricmp(s8_Name, "GBK") == 0) return 54936; if (stricmp(s8_Name, "gb2312") == 0) return 936; if (stricmp(s8_Name, "hz-gb-2312") == 0) return 52936; if (stricmp(s8_Name, "IBM00858") == 0) return 858;