Standard way in C11 and C++11 to convert UTF-8?

后端 未结 1 1832
孤街浪徒
孤街浪徒 2021-02-18 22:42

C11 and C++11 both introduce the uchar.h/cuchar header defining char16_t and char32_t as explicitly 16 and 32 bit wide charac

1条回答
  •  梦谈多话
    2021-02-18 22:58

    Sounds like you're looking for the std::codecvt type. See the example on that page for usage.

    0 讨论(0)
提交回复
热议问题