Functions Related to UTF-8
slapi_utf8isUpper()
Verifies if a UTF-8 character is an upper-case letter.
Syntax
#include "slapi-plugin.h"
int slapi_utf8isUpper(unsigned char *s);
Parameters
This function takes the following parameter:
s
Returns
This function returns one of the following values:
•
1 if the character is an upper-case letter.
•
0 if the character is not an upper-case letter.
slapi_UTF8ISUPPER()
Verifies if a UTF-8 character is an upper-case letter.
Syntax
#include "slapi-plugin.h"
int slapi_UTF8ISUPPER(char *s);
Parameters
This function takes the following parameter:
s
Returns
This function returns one of the following values:
•
1
•
0
488
Netscape Directory Server Plug-In Programmer's Guide • December 2003
A single UTF-8 character (could be multiple bytes)
A single UTF-8 character (could be multiple bytes)
if the character is an upper case letter.
if the character is not an uppercase letter.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers