Functions Related to UTF-8
•
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.
506
Red Hat Directory Server Plug-in Programmer's Guide • May 2005
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.
.
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS and is the answer not in the manual?
Questions and answers