1 // Scintilla source code edit control
\r
2 /** @file UniConversion.h
\r
3 ** Functions to handle UFT-8 and UCS-2 strings.
\r
5 // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
\r
6 // The License.txt file describes the conditions under which this software may be distributed.
\r
8 unsigned int UTF8Length(const wchar_t *uptr, unsigned int tlen);
\r
9 void UTF8FromUTF16(const wchar_t *uptr, unsigned int tlen, char *putf, unsigned int len);
\r
10 unsigned int UTF16Length(const char *s, unsigned int len);
\r
11 unsigned int UTF16FromUTF8(const char *s, unsigned int len, wchar_t *tbuf, unsigned int tlen);
\r