Fixed a bug where functions that populate a character buffer (e.g. uni_norm
or uni_caseconv
) would fail to null-terminate it. This bug only occurred when the UNI_NULIFY
flag was specified, the buffer capacity was a single code unit in size, and it was already populated with a non-null character by the implementation.