diff options
| author | di3online <[email protected]> | 2014-04-18 08:18:24 +0200 |
|---|---|---|
| committer | di3online <[email protected]> | 2014-04-18 08:18:24 +0200 |
| commit | 61beb431d146f3c6b6738541812f4cb916a24002 (patch) | |
| tree | 836eda1db938bb4ebef83f8e100a9a06ec311c72 /src | |
| parent | recursively create all parent directories if they do not exist on Windows (diff) | |
| download | vmime-61beb431d146f3c6b6738541812f4cb916a24002.tar.gz vmime-61beb431d146f3c6b6738541812f4cb916a24002.zip | |
add charset ‘GBK’
GB18030 contains GBK,
GBK contains gb2312.
Diffstat (limited to 'src')
| -rw-r--r-- | src/vmime/platforms/windows/windowsCodepages.hpp | 1 |
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; |
