FreeRDP
utf.h File Reference
#include <winpr/wtypes.h>
This graph shows which files directly or indirectly include this file:

Macros

#define UNI_REPLACEMENT_CHAR   (DWORD)0x0000FFFD
 
#define UNI_MAX_BMP   (DWORD)0x0000FFFF
 
#define UNI_MAX_UTF16   (DWORD)0x0010FFFF
 
#define UNI_MAX_UTF32   (DWORD)0x7FFFFFFF
 
#define UNI_MAX_LEGAL_UTF32   (DWORD)0x0010FFFF
 

Enumerations

enum  ConversionResult { conversionOK, sourceExhausted, targetExhausted, sourceIllegal }
 
enum  ConversionFlags { strictConversion = 0, lenientConversion }
 

Functions

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)
 

Macro Definition Documentation

#define UNI_MAX_BMP   (DWORD)0x0000FFFF
#define UNI_MAX_LEGAL_UTF32   (DWORD)0x0010FFFF
#define UNI_MAX_UTF16   (DWORD)0x0010FFFF
#define UNI_MAX_UTF32   (DWORD)0x7FFFFFFF
#define UNI_REPLACEMENT_CHAR   (DWORD)0x0000FFFD

Enumeration Type Documentation

Enumerator
strictConversion 
lenientConversion 
Enumerator
conversionOK 
sourceExhausted 
targetExhausted 
sourceIllegal 

Function Documentation

ConversionResult ConvertUTF16toUTF32 ( const WCHAR **  sourceStart,
const WCHAR *  sourceEnd,
DWORD **  targetStart,
DWORD *  targetEnd,
ConversionFlags  flags 
)
ConversionResult ConvertUTF16toUTF8 ( const WCHAR **  sourceStart,
const WCHAR *  sourceEnd,
BYTE **  targetStart,
BYTE targetEnd,
ConversionFlags  flags 
)

Here is the caller graph for this function:

ConversionResult ConvertUTF32toUTF16 ( const DWORD **  sourceStart,
const DWORD *  sourceEnd,
WCHAR **  targetStart,
WCHAR *  targetEnd,
ConversionFlags  flags 
)
ConversionResult ConvertUTF32toUTF8 ( const DWORD **  sourceStart,
const DWORD *  sourceEnd,
BYTE **  targetStart,
BYTE targetEnd,
ConversionFlags  flags 
)
ConversionResult ConvertUTF8toUTF16 ( const BYTE **  sourceStart,
const BYTE sourceEnd,
WCHAR **  targetStart,
WCHAR *  targetEnd,
ConversionFlags  flags 
)

Here is the call graph for this function:

Here is the caller graph for this function:

ConversionResult ConvertUTF8toUTF32 ( const BYTE **  sourceStart,
const BYTE sourceEnd,
DWORD **  targetStart,
DWORD *  targetEnd,
ConversionFlags  flags 
)

Here is the call graph for this function:

BOOL isLegalUTF8Sequence ( const BYTE source,
const BYTE sourceEnd 
)

Here is the call graph for this function: