Functions Related to UTF-8
slapi_UTF8STRTOLOWER()
Converts upper-case characters in a UTF-8 string to lower-case characters.
Syntax
#include "slapi-plugin.h"
unsigned char *slapi_UTF8STRTOLOWER(char *s);;
Parameters
This function takes the following parameter:
s
Returns
This function returns one of the following values:
•
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.
•
Null
Description
This function converts a string of multiple UTF-8 characters, not a single character
as in
Memory Concerns
The output string is allocated and needs to be released when no longer needed.
See Also
slapi_UTF8TOLOWER()
slapi_utf8StrToUpper()
Converts lower-case characters in a UTF-8 string to upper-case characters.
Syntax
#include "slapi-plugin.h"
unsigned char *slapi_utf8StrToUpper(unsigned char *s);
Parameters
This function takes the following parameter:
500
Netscape Directory Server Plug-in Programmer's Guide • October 2004
A null-terminated UTF-8 string to be converted to lower case.
if the string is not found to be a UTF-8 string.
slapi_UTF8TOLOWER()
.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers