UniTransLower

UniTransLower converts a Unicode character to lowercase using the specified locale.

Syntax
UniChar UniTransLower (const LocaleObject locale_object, UniChar uc)

Parameters

 * locale_object (const LocaleObject) : A locale object created by UniCreateLocaleObject or NULL.
 * uc (UniChar) : The character to be transformed.

Returns
return value (UniChar)  -  returns

UniTransLower returns the transformed character. The input character is returned if there is no transformation defined for the character in locale_object.

Example
This example shows how to convert a Unicode character to lowercase. 
 * 1) include 

int main(void) { LocaleObject locale_object; UniChar      uni_upr = L'C'; UniChar      uni_lwr; int          rc; /*****************************************************************/        /* Assumes LANG environment variable set to a valid locale name, */ /* such as fr_FR                                                */ /*****************************************************************/        rc = UniCreateLocaleObject(UNI_UCS_STRING_POINTER,                                   (UniChar *)L"", &locale_object); if (rc != ULS_SUCCESS) { printf("UniCreateLocaleObject error: return code = %u\n", rc); return 1; }        uni_lwr = UniTransLower(locale_object, uni_upr); return (ULS_SUCCESS);
 * 1) include 

} 

Format

 * 1) include 

UniChar UniTransLower (const LocaleObject locale_object, UniChar uc) 

Related Functions

 * UniTransUpper