2005-11-22 12:26:26 +00:00
|
|
|
// 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);
|
2007-06-18 13:02:34 +00:00
|
|
|
void UTF8FromUTF16(const wchar_t *uptr, unsigned int tlen, char *putf, unsigned int len);
|
2010-05-16 17:44:24 +00:00
|
|
|
unsigned int UTF8CharLength(unsigned char ch);
|
2007-06-18 13:02:34 +00:00
|
|
|
unsigned int UTF16Length(const char *s, unsigned int len);
|
|
|
|
unsigned int UTF16FromUTF8(const char *s, unsigned int len, wchar_t *tbuf, unsigned int tlen);
|
2005-11-22 12:26:26 +00:00
|
|
|
|