Encapsulated string encoding conversion using standard libraries
- gbk_to_utf8
- utf8_to_gbk
- is_utf8
- is_gbk
- to_utf8
- to_gbk
cpp version | header | platform |
---|---|---|
c++11 | codecvt | --- |
c++14 | codecvt | --- |
c++17 | windows.h | win only |
c++20 | windows.h | win only |
c++23 | windows.h | win only |
c++26 | text_encoding | --- |