#include <winpr/wtypes.h>
|
ConversionResult | ConvertUTF8toUTF16 (const BYTE **sourceStart, const BYTE *sourceEnd, WCHAR **targetStart, WCHAR *targetEnd, ConversionFlags flags) |
|
ConversionResult | ConvertUTF16toUTF8 (const WCHAR **sourceStart, const WCHAR *sourceEnd, BYTE **targetStart, BYTE *targetEnd, ConversionFlags flags) |
|
ConversionResult | ConvertUTF8toUTF32 (const BYTE **sourceStart, const BYTE *sourceEnd, DWORD **targetStart, DWORD *targetEnd, ConversionFlags flags) |
|
ConversionResult | ConvertUTF32toUTF8 (const DWORD **sourceStart, const DWORD *sourceEnd, BYTE **targetStart, BYTE *targetEnd, ConversionFlags flags) |
|
ConversionResult | ConvertUTF16toUTF32 (const WCHAR **sourceStart, const WCHAR *sourceEnd, DWORD **targetStart, DWORD *targetEnd, ConversionFlags flags) |
|
ConversionResult | ConvertUTF32toUTF16 (const DWORD **sourceStart, const DWORD *sourceEnd, WCHAR **targetStart, WCHAR *targetEnd, ConversionFlags flags) |
|
BOOL | isLegalUTF8Sequence (const BYTE *source, const BYTE *sourceEnd) |
|
◆ UNI_MAX_BMP
#define UNI_MAX_BMP (DWORD)0x0000FFFF |
◆ UNI_MAX_LEGAL_UTF32
#define UNI_MAX_LEGAL_UTF32 (DWORD)0x0010FFFF |
◆ UNI_MAX_UTF16
#define UNI_MAX_UTF16 (DWORD)0x0010FFFF |
◆ UNI_MAX_UTF32
#define UNI_MAX_UTF32 (DWORD)0x7FFFFFFF |
◆ UNI_REPLACEMENT_CHAR
#define UNI_REPLACEMENT_CHAR (DWORD)0x0000FFFD |
◆ ConversionFlags
Enumerator |
---|
strictConversion | |
lenientConversion | |
◆ ConversionResult
Enumerator |
---|
conversionOK | |
sourceExhausted | |
targetExhausted | |
sourceIllegal | |
◆ ConvertUTF16toUTF32()
ConversionResult ConvertUTF16toUTF32 |
( |
const WCHAR ** |
sourceStart, |
|
|
const WCHAR * |
sourceEnd, |
|
|
DWORD ** |
targetStart, |
|
|
DWORD * |
targetEnd, |
|
|
ConversionFlags |
flags |
|
) |
| |
◆ ConvertUTF16toUTF8()
◆ ConvertUTF32toUTF16()
ConversionResult ConvertUTF32toUTF16 |
( |
const DWORD ** |
sourceStart, |
|
|
const DWORD * |
sourceEnd, |
|
|
WCHAR ** |
targetStart, |
|
|
WCHAR * |
targetEnd, |
|
|
ConversionFlags |
flags |
|
) |
| |
◆ ConvertUTF32toUTF8()
◆ ConvertUTF8toUTF16()
◆ ConvertUTF8toUTF32()
◆ isLegalUTF8Sequence()
BOOL isLegalUTF8Sequence |
( |
const BYTE * |
source, |
|
|
const BYTE * |
sourceEnd |
|
) |
| |