C++字符转码(GBK和UTF8)
摘要:
```cpp std::string GBKToUtf8(const char* pSrc, int nLen) { string strOut; if (pSrc && nLen > 0) { // ANSI -> UNICODE int wlen = MultiByteToWideChar(CP 阅读全文
posted @ 2023-06-01 18:59 街角_祝福 阅读(330) 评论(0) 推荐(0) 编辑