calculate utf8 length

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@241 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-09 10:57:21 +00:00
parent 2a8f0bbe28
commit cf8870ece7
3 changed files with 24 additions and 0 deletions

View File

@@ -21,6 +21,13 @@ extern "C" {
*/
MWDECL int MwUTF8ToUTF32(const char* input, int* output);
/*!
* %brief Calculates UTF-8 string length
* %brief input Input
* %return Length
*/
MWDECL int MwUTF8Length(const char* input);
#ifdef __cplusplus
}
#endif