diff options
author | nyamatongwe <devnull@localhost> | 2010-03-23 05:22:21 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-03-23 05:22:21 +0000 |
commit | 99335bdcf3814c7268bfb3f1a9c0906e59ae11c3 (patch) | |
tree | 31b1e6454ad4f4e191bcffa08aef846825b4b2c2 /src/UniConversion.h | |
parent | a0df10a7cf8742e9eead68023c26dbb46318e804 (diff) | |
download | scintilla-mirror-99335bdcf3814c7268bfb3f1a9c0906e59ae11c3.tar.gz |
Added function for finding how many bytes are in a UTF-8 character.
Diffstat (limited to 'src/UniConversion.h')
-rw-r--r-- | src/UniConversion.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/UniConversion.h b/src/UniConversion.h index fd420a688..8cc3d0a18 100644 --- a/src/UniConversion.h +++ b/src/UniConversion.h @@ -7,6 +7,7 @@ unsigned int UTF8Length(const wchar_t *uptr, unsigned int tlen); void UTF8FromUTF16(const wchar_t *uptr, unsigned int tlen, char *putf, unsigned int len); +unsigned int UTF8CharLength(unsigned char ch); unsigned int UTF16Length(const char *s, unsigned int len); unsigned int UTF16FromUTF8(const char *s, unsigned int len, wchar_t *tbuf, unsigned int tlen); |