BASE64 Decode with Charset GB2312

Question: I have a Base64 decode error, as follows: CkString str; str.setString(“16q”); str.base64Decode(“gb2312”); const char *strResult = str.getString(); convert result is { cb f2 } But the correct result should be { d7 aa} What’s wrong? The platform is WinCE 6.0, use Chilkat_PPC_M5.lib Answer: The following code shows how to do it correctly: CkString str; str.setString(“16q”); // The following line […]