UniTransUpper

UniTransUpper converts Unicode character to uppercase using the specified locale.

Syntax
UniChar UniTransUpper (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

This function 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 uppercase. 
 * 1) include 

int main(void) { LocaleObject locale_object; UniChar      uni_lwr = L'c'; UniChar      uni_upr; 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_upr = UniTransUpper(locale_object, uni_lwr); return (ULS_SUCCESS);
 * 1) include 

} 

Format

 * 1) include 

UniChar UniTransUpper (const LocaleObject locale_object, UniChar uc) 

Related Functions

 * UniTransLower