utf8rewind  1.5.2
System library for processing UTF-8 encoded text
Normalization flags

Flags used as input for utf8normalize and the result of utf8isnormalized. More...

Macros

#define UTF8_NORMALIZE_COMPOSE   0x00000001
 Normalize input to Normalization Form C (NFC). More...
 
#define UTF8_NORMALIZE_DECOMPOSE   0x00000002
 Normalize input to Normalization Form D (NFD). More...
 
#define UTF8_NORMALIZE_COMPATIBILITY   0x00000004
 Changes Normalization Form from NFC to NFKC or from NFD to NFKD. More...
 
#define UTF8_NORMALIZATION_RESULT_YES   (0)
 Text is stable and does not need to be normalized. More...
 
#define UTF8_NORMALIZATION_RESULT_MAYBE   (1)
 Text is unstable, but normalization may be skipped. More...
 
#define UTF8_NORMALIZATION_RESULT_NO   (2)
 Text is unstable and must be normalized. More...
 

Detailed Description

Flags used as input for utf8normalize and the result of utf8isnormalized.

Macro Definition Documentation

◆ UTF8_NORMALIZE_COMPOSE

#define UTF8_NORMALIZE_COMPOSE   0x00000001

Normalize input to Normalization Form C (NFC).

◆ UTF8_NORMALIZE_DECOMPOSE

#define UTF8_NORMALIZE_DECOMPOSE   0x00000002

Normalize input to Normalization Form D (NFD).

◆ UTF8_NORMALIZE_COMPATIBILITY

#define UTF8_NORMALIZE_COMPATIBILITY   0x00000004

Changes Normalization Form from NFC to NFKC or from NFD to NFKD.

◆ UTF8_NORMALIZATION_RESULT_YES

#define UTF8_NORMALIZATION_RESULT_YES   (0)

Text is stable and does not need to be normalized.

◆ UTF8_NORMALIZATION_RESULT_MAYBE

#define UTF8_NORMALIZATION_RESULT_MAYBE   (1)

Text is unstable, but normalization may be skipped.

◆ UTF8_NORMALIZATION_RESULT_NO

#define UTF8_NORMALIZATION_RESULT_NO   (2)

Text is unstable and must be normalized.