aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/UniConversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UniConversion.h')
-rw-r--r--src/UniConversion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/UniConversion.h b/src/UniConversion.h
index 1b84b8f81..e2be40776 100644
--- a/src/UniConversion.h
+++ b/src/UniConversion.h
@@ -15,6 +15,7 @@ const int UTF8MaxBytes = 4;
const int unicodeReplacementChar = 0xFFFD;
size_t UTF8Length(std::wstring_view wsv);
+size_t UTF8PositionFromUTF16Position(std::string_view u8Text, size_t positionUTF16) noexcept;
void UTF8FromUTF16(std::wstring_view wsv, char *putf, size_t len);
void UTF8FromUTF32Character(int uch, char *putf);
size_t UTF16Length(std::string_view sv);