Returns
This function returns one of the following values:
•
A null-terminated UTF-8 string whose characters are converted to upper case;
characters that are not lower 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 in this function, and needs to be released when it is
no longer used.
slapi_UTF8STRTOUPPER()
Converts lower-case characters in a UTF-8 string to upper-case characters.
Syntax
#include "slapi-plugin.h"
unsigned char *slapi_UTF8STRTOUPPER(char *s);
Parameters
This function takes the following parameter:
s
Returns
This function returns one of the following values:
•
A null-terminated UTF-8 string whose characters are converted to upper case.
Character which are not lower case are copied as is.
•
Null
Memory Concerns
The output string is allocated in this function, and needs to be released when it is
no longer used.
if the string is not considered to be a UTF-8 string.
slapi_utf8ToUpper()
A null-terminated UTF-8 string.
if the string is not considered to be a UTF-8 string.
.
Functions Related to UTF-8
Chapter 15
Function Reference
491
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN and is the answer not in the manual?
Questions and answers