From abcbe216649e5c78e3fd8050e475b13305af9dcd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 10 Apr 2000 00:02:32 +0000 Subject: Death of Accessor. Birth of UniConversion. --- src/UniConversion.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/UniConversion.h (limited to 'src/UniConversion.h') 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 +// 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); + -- cgit v1.2.3