axmol/thirdparty/ntcvt
halx99 7fd2fd6dac Set default encoding to UTF-8 [skip ci] 2022-06-16 21:18:31 +08:00
..
.clang-format Move ntcvt directory 2021-11-26 17:19:50 +08:00
LICENSE Move ntcvt directory 2021-11-26 17:19:50 +08:00
README.md Move ntcvt directory 2021-11-26 17:19:50 +08:00
ntcvt.hpp Set default encoding to UTF-8 [skip ci] 2022-06-16 21:18:31 +08:00

README.md

ntcvt

The windows nt encoding converter helpers

Why create this toy repo

  • The natvie Win32 API is fast than c++11 std::codecvt
  • More easy to convert between utf-8, utf-16, mcbs at ntoskrnl system
  • Do a hack to avoid loop fill '\0' when prealloc buffer for std::wstring