Asian Application Developer's Guide

Conversion Within a Codeset

The multibyte conversion functions are similar to the one-byte conversion functions toupper and tolower. These functions convert wide-characters to other wide characters. For more information on conversion routines, see the man pages for wconv(3) for all locales and for:

The following routines are in the regular Chinese C library:

Table B-5 Simplified Chinese Case Conversion Functions (declared in zh/xctype.h)

Function 

Description 

tocupper

Converts codeset 1 Roman lowercase to uppercase 

toclower

Converts codeset 1 Roman uppercase to lowercase 

Table B-6 Traditional Chinese Case Conversion Functions (declared in zh_TW/xctype.h)

Function 

Description 

tohupper

Converts codeset 1 Roman lowercase to uppercase 

tohlower

Converts codeset 1 Roman uppercase to lowercase