tsk_unicode.c File Reference


Detailed Description

A local copy of the Unicode conversion routines from unicode.org.

#include "tsk_base_i.h"

Defines

#define UNI_SUR_HIGH_START   (UTF32)0xD800
#define UNI_SUR_HIGH_END   (UTF32)0xDBFF
#define UNI_SUR_LOW_START   (UTF32)0xDC00
#define UNI_SUR_LOW_END   (UTF32)0xDFFF
#define false   0
#define true   1

Functions

TSKConversionResult tsk_UTF16toUTF8 (uint16_t endian, const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, TSKConversionFlags flags)
Boolean tsk_isLegalUTF8Sequence (const UTF8 *source, const UTF8 *sourceEnd)
TSKConversionResult tsk_UTF8toUTF16 (const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, TSKConversionFlags flags)


Generated on Tue Jan 29 00:26:13 2008 for The Sleuth Kit (Incomplete Docs) by  doxygen 1.5.1