diff options
| author | nyamatongwe <devnull@localhost> | 2000-04-10 00:02:32 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-04-10 00:02:32 +0000 |
| commit | fe7edf1b1ae94a069134103af84585a29a6c5467 (patch) | |
| tree | 4c63c2c6b92b962ddbd8aa65659334e3d65850e4 /src/UniConversion.h | |
| parent | adc2400444b3c7f89cd8033c9562ace0c205d102 (diff) | |
| download | scintilla-mirror-fe7edf1b1ae94a069134103af84585a29a6c5467.tar.gz | |
Death of Accessor.
Birth of UniConversion.
Diffstat (limited to 'src/UniConversion.h')
| -rw-r--r-- | src/UniConversion.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/UniConversion.h b/src/UniConversion.h new file mode 100644 index 000000000..cace497c4 --- /dev/null +++ b/src/UniConversion.h @@ -0,0 +1,9 @@ +// UniConversion.h - functions to handle UFT-8 and UCS-2 strings +// Copyright 1998-2000 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); + |
