Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 444

Table of Contents

Advertisement

Functions Related to UTF-8
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.
444
Netscape Directory Server Plug-In Programmer's Guide • May 2002
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.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents