scintilla: Update scintilla with changeset 3662:1d1c06df8a2f using gtk+3
[anjuta-extras.git] / plugins / scintilla / scintilla / UniConversion.h
blob2de2ef3fe13719f243569b566e26be3a047f72b2
1 // Scintilla source code edit control
2 /** @file UniConversion.h
3 ** Functions to handle UTF-8 and UTF-16 strings.
4 **/
5 // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
8 unsigned int UTF8Length(const wchar_t *uptr, unsigned int tlen);
9 void UTF8FromUTF16(const wchar_t *uptr, unsigned int tlen, char *putf, unsigned int len);
10 unsigned int UTF8CharLength(unsigned char ch);
11 unsigned int UTF16Length(const char *s, unsigned int len);
12 unsigned int UTF16FromUTF8(const char *s, unsigned int len, wchar_t *tbuf, unsigned int tlen);