]>
git.saurik.com Git - wxWidgets.git/blob - contrib/src/stc/scintilla/src/UniConversion.h
cace497c48a426014a99c02dae682abae993a60e
1 // UniConversion.h - functions to handle UFT-8 and UCS-2 strings
2 // Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org>
3 // The License.txt file describes the conditions under which this software may be distributed.
5 unsigned int UTF8Length(const wchar_t *uptr
, unsigned int tlen
);
6 void UTF8FromUCS2(const wchar_t *uptr
, unsigned int tlen
, char *putf
, unsigned int len
);
7 unsigned int UCS2Length(const char *s
, unsigned int len
);
8 unsigned int UCS2FromUTF8(const char *s
, unsigned int len
, wchar_t *tbuf
, unsigned int tlen
);