99#define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD
100#define UNI_MAX_BMP (UTF32)0x0000FFFF
101#define UNI_MAX_UTF16 (UTF32)0x0010FFFF
102#define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF
103#define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF
ConversionResult ConvertUTF32toUTF16(const UTF32 **sourceStart, const UTF32 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, ConversionFlags flags)
Definition convert_utf.c:62
ConversionFlags
Definition convert_utf.h:112
@ strictConversion
Definition convert_utf.h:112
@ lenientConversion
Definition convert_utf.h:112
ConversionResult ConvertUTF8toUTF32(const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, ConversionFlags flags)
Definition convert_utf.c:524
unsigned short UTF16
Definition convert_utf.h:94
ConversionResult ConvertUTF8toUTF16(const UTF8 **sourceStart, const UTF8 *sourceEnd, UTF16 **targetStart, UTF16 *targetEnd, ConversionFlags flags)
Definition convert_utf.c:374
unsigned int UTF32
Definition convert_utf.h:93
ConversionResult ConvertUTF16toUTF8(const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, ConversionFlags flags)
Definition convert_utf.c:217
unsigned char UTF8
Definition convert_utf.h:95
Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd)
Definition convert_utf.c:364
ConversionResult ConvertUTF32toUTF8(const UTF32 **sourceStart, const UTF32 *sourceEnd, UTF8 **targetStart, UTF8 *targetEnd, ConversionFlags flags)
Definition convert_utf.c:459
unsigned char Boolean
Definition convert_utf.h:96
ConversionResult ConvertUTF16toUTF32(const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF32 **targetStart, UTF32 *targetEnd, ConversionFlags flags)
Definition convert_utf.c:115
ConversionResult
Definition convert_utf.h:105
@ targetExhausted
Definition convert_utf.h:108
@ sourceIllegal
Definition convert_utf.h:109
@ conversionOK
Definition convert_utf.h:106
@ sourceExhausted
Definition convert_utf.h:107