Function
uni_normchk
Normalization check.
Since v1.0
unistat uni_normchk(
Parameters π
form | in | Normalization form to check for. |
text | in | Input text. |
text_len | in | Number of code units in |
text_attr | in | Attributes of |
result | out |
Return Value π
UNI_OK | On success. |
UNI_BAD_OPERATION | If |
UNI_BAD_ENCODING | If |
UNI_FEATURE_DISABLED | If Unicorn was built without support for |
Discussion π
Checks if text
is normalized. This functions is more βexpensiveβ than uni_normqchk, but it returns a definitive yes or no answer as to whether text
is normalized.