https://github.com/katahiromz/utf
C/C++ UTF-8, UTF-16, UTF-32 conversion library
https://github.com/katahiromz/utf
c-language c-plus-plus conversion converter cxx header-only string utf-16 utf-32 utf-8
Last synced: 4 months ago
JSON representation
C/C++ UTF-8, UTF-16, UTF-32 conversion library
- Host: GitHub
- URL: https://github.com/katahiromz/utf
- Owner: katahiromz
- License: mit
- Created: 2019-07-02T12:08:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-04T00:37:32.000Z (5 months ago)
- Last Synced: 2025-05-04T01:25:09.441Z (5 months ago)
- Topics: c-language, c-plus-plus, conversion, converter, cxx, header-only, string, utf-16, utf-32, utf-8
- Language: C++
- Homepage:
- Size: 35.2 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# UTF
[](https://travis-ci.org/katahiromz/UTF)
[](https://ci.appveyor.com/project/katahiromz/utf)UTF is C/C++ UTF-8, UTF-16, UTF-32 conversion library by Katayama Hirofumi MZ.
License: MIT
## Note
If you are programming on Windows, you may want to use these APIs:
```c
#include
MultiByteToWideChar(CP_UTF8, 0, ...);
MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, ...);
WideCharToMultiByte(CP_UTF8, 0, ...);
IsTextUnicode(...);
```