2024年9月2日

c++ string 与 wstring 互转并解决显示乱码

摘要: string 转 wstring: #include <iostream> #include <sstream> #include <locale> #include <string> #include <codecvt> int main() { std::string utf8_str = "你 阅读全文

posted @ 2024-09-02 12:29 空明流光 阅读(49) 评论(0) 推荐(0) 编辑

导航