Internationalizing and Localizing Applications in Oracle Solaris

Exit Print View

Updated: July 2014
 
 

Processing UTF-8 Strings

Functions available for processing Unicode UTF-8 strings are as follows:

u8_textprep_str()

String-based UTF-8 text preparation

u8_strcmp()

UTF-8 string comparison function

u8_validate()

Validate UTF-8 characters and calculate the byte length


Note -  Use the u8_textprep_str() function to convert a UTF-8 string to uppercase or lowercase as well as to apply one of the Unicode normalization forms. For more information, see http://unicode.org/reports/tr15/Unicode Normalization Forms.