Converts a UTF-8 string to lower case.
#include "slapi-plugin.h" unsigned char *slapi_UTF-8STRTOLOWER(char *s);
This function takes the following parameter:
A NULL terminated UTF-8 string to be converted to lower case.
This function returns a pointer to a NULL terminated UTF-8 string whose characters are converted to lower case. Characters which are not upper case are copied as is. If the string is not found to be a UTF-8 string, this function returns NULL.
This function converts a string of multiple UTF-8 characters, and not a single character, as in slapi_UTF-8TOLOWER().
The output string is allocated, and needs to be released when it is no longer needed.