#include "unicode/utypes.h"
#include "unicode/parseerr.h"
Go to the source code of this file.
Defines | |
#define | USPREP_DEFAULT 0x0000 |
Option to prohibit processing of unassigned code points in the input. More... | |
#define | USPREP_ALLOW_UNASSIGNED 0x0001 |
Option to allow processing of unassigned code points in the input. More... | |
Typedefs | |
typedef UStringPrepProfile | UStringPrepProfile |
The StringPrep profile. More... | |
Functions | |
UStringPrepProfile * | usprep_open (const char *path, const char *fileName, UErrorCode *status) |
Creates a StringPrep profile from the data file. More... | |
void | usprep_close (UStringPrepProfile *profile) |
Closes the profile. More... | |
int32_t | usprep_prepare (const UStringPrepProfile *prep, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, int32_t options, UParseError *parseError, UErrorCode *status) |
Prepare the input buffer for use in applications with the given profile. More... |
StringPrep prepares Unicode strings for use in network protocols. Profiles of StingPrep are set of rules and data according to with the Unicode Strings are prepared. Each profiles contains tables which describe how a code point should be treated. The tables are broadly classied into
Definition in file usprep.h.
|
Option to allow processing of unassigned code points in the input.
|
|
Option to prohibit processing of unassigned code points in the input.
|
|
The StringPrep profile.
|
|
Closes the profile.
|
|
Creates a StringPrep profile from the data file.
|
|
Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC), checks for prohited and BiDi characters in the order defined by RFC 3454 depending on the options specified in the profile.
|