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 function is more “expensive” than uni_normqchk, but it returns a definitive yes or no answer as to whether text
is normalized.