Adaptive Framework
0.9.0
|
NFC normalized UTF-8 string. More...
#include <afw_common.h>
Data Fields | |
const afw_utf8_octet_t * | s |
afw_size_t | len |
NFC normalized UTF-8 string.
IMPORTANT: This must match up with afw_utf8_t since it is accepted to cast from afw_utf8_t to afw_memory_t. Don't cast the other way around unless you are positive ptr point to NFC Unicode – use afw_utf8_from_raw() instead.
All UTF-8 strings MUST be NFC normalized. Doing otherwise can cause unintended minor or major errors.
See RFC 5198 and http://unicode.org/reports/tr15/
This string is not null terminated, so it can contain NUL characters. The number of bytes in the sting is stored in len and a pointer to the first byte in s.
Definition at line 545 of file afw_common.h.