Simplified Chinese Solaris User's Guide

Conversion Between Simplified Chinese Codesets

In the Simplified Chinese character sets, the Roman characters and numbers in codeset 0 are repeated in codeset 1. The following functions test wide characters.

Table B-4 Simplified Chinese Codeset Conversion Functions

Function 

Description 

atocgb

Converts alphabetic or numeric characters in ASCII (codeset 0) to the corresponding characters in GB-2312-80 (codeset 1). 

cgbtoa

Converts alphabetic or numeric characters in GB-2312-80 (codeset 1) to the corresponding characters in ASCII (codeset 0). 

For further information on these functions, see the man page for cconv()(3x).