summaryrefslogtreecommitdiffstats
path: root/src/UniConversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UniConversion.h')
-rwxr-xr-xsrc/UniConversion.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/UniConversion.h b/src/UniConversion.h
new file mode 100755
index 0000000..bd1d775
--- /dev/null
+++ b/src/UniConversion.h
@@ -0,0 +1,12 @@
+// Scintilla source code edit control
+/** @file UniConversion.h
+ ** Functions to handle UFT-8 and UCS-2 strings.
+ **/
+// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
+// The License.txt file describes the conditions under which this software may be distributed.
+
+unsigned int UTF8Length(const wchar_t *uptr, unsigned int tlen);
+void UTF8FromUCS2(const wchar_t *uptr, unsigned int tlen, char *putf, unsigned int len);
+unsigned int UCS2Length(const char *s, unsigned int len);
+unsigned int UCS2FromUTF8(const char *s, unsigned int len, wchar_t *tbuf, unsigned int tlen);
+