aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2014-04-18 16:30:17 +0000
committerVincent Richard <[email protected]>2014-04-18 16:30:17 +0000
commit51e753d0f15380e75e59f5f3cdd31a3ed68ab02c (patch)
tree836eda1db938bb4ebef83f8e100a9a06ec311c72
parentMerge pull request #82 from NPU/master (diff)
parentadd charset ‘GBK’ (diff)
downloadvmime-51e753d0f15380e75e59f5f3cdd31a3ed68ab02c.tar.gz
vmime-51e753d0f15380e75e59f5f3cdd31a3ed68ab02c.zip
Merge pull request #83 from NPU/master
add charset ‘GBK’
-rw-r--r--src/vmime/platforms/windows/windowsCodepages.hpp1
1 files changed, 1 insertions, 0 deletions
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;