Returns
This function returns one of the following values:
•
1
•
0
slapi_utf8StrToLower()
Converts upper case characters in a UTF-8 string to lower-case characters.
Syntax
#include "slapi-plugin.h"
unsigned char *slapi_utf8StrToLower(unsigned 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 it is no longer needed.
See Also
slapi_utf8ToLower()
if the character is an upper case letter.
if the character is not an uppercase letter.
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()
.
Functions Related to UTF-8
Chapter 15
Function Reference
499
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