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