The Compaq Tru64 UNIX operating system supports different Chinese locales for different countries and areas. These include Taiwan, People's Republic of China (PRC), and Hong Kong. Table 3-1 shows the valid Chinese locales with different countries, codesets, and collating sequences.
Note
zh_TW is an alias of zh_TW.eucTW, and zh_CN is an alias of zh_CN.dechanzi.
Codeset |
Locale |
Collation Sequence |
---|---|---|
DEC Hanyu | zh_TW zh_TW.dechanyu zh_TW@ucs4 zh_TW.dechanyu@ucs4 zh_TW.dechanyu@radical zh_TW.dechanyu@radical@ucs4 zh_TW.dechanyu@stroke zh_TW.dechanyu@stroke@ucs4 zh_TW.dechanyu@chuyin zh_TW.dechanyu@chuyin@ucs4 zh_HK.dechanyu zh_HK.dechanyu@ucs4 |
Internal code Internal code Internal code Internal code Radical Radical Stroke Stroke Chuyin (Phonetic) Chuyin (Phonetic) Internal code Internal code |
Taiwanese EUC | zh_TW.eucTW zh_TW.eucTW@ucs4 zh_TW.eucTW@radical zh_TW.eucTW@radical@ucs4 zh_TW.eucTW@stroke zh_TW.eucTW@stroke@ucs4 zh_TW.eucTW@chuyin zh_TW.eucTW@chuyin@ucs4 zh_HK.eucTW zh_HK.eucTW@ucs4 |
Internal code Internal code Radical Radical Stroke Stroke Chuyin (Phonetic) Chuyin (Phonetic) Internal code Internal code |
Big-5 |
zh_TW.big5 |
Internal code |
DEC Hanzi | zh_CN zh_CN.dechanzi zh_CN@ucs4 zh_CN.dechanzi@ucs4 zh_CN.dechanzi@radical zh_CN.dechanzi@radical ucs4 zh_CN.dechanzi@stroke zh_CN.dechanzi@stroke@ucs4 zh_CN.dechanzi@pinyin zh_CN.dechanzi@pinyin@ucs4 zh_HK.dechanzi zh_HK.dechanzi@ucs4 |
Internal code Internal code Internal code Internal code Radical Radical Stroke Stroke Pinyin (Phonetic) Pinyin (Phonetic) Internal code Internal code |
Locales that support the same country and codeset are basically the same. The radical, stroke, pinyin, and chuyin modifiers after the at (@) sign specify different criterion for collation and sorting. Moreover, the characters defined in character set standards have collating precedence over user-defined characters, which, in turn, have precedence over undefined or reserved characters.
The ucs4 modifier indicates that UCS-4 is used as the internal processing code. The classification information, however, is not provided for the full set of UCS-4 characters, but only for the corresponding language.
If you are using DECwindows Motif, you can select the locale through the Language Menu of Session Manager. If you are using CDE, you can select the locale using the language menu on the CDE login screen. The applicable locales are shown in Table 3-1.
Locale |
Language Name |
---|---|
zh_TW |
Chinese Taiwan |
zh_TW.dechanyu |
Chinese Taiwan (DEC Hanyu) |
zh_TW.eucTW |
Chinese Taiwan (EUC) |
zh_TW.big5 |
Chinese Taiwan (Big5) |
zh_HK.dechanyu |
Chinese Hong Kong (DEC Hanyu) |
zh_HK.eucTW |
Chinese Hong Kong (EUC) |
zh_HK.big5 |
Chinese Hong Kong (Big5) |
zh_CN |
Chinese China |
zh_CN.dechanzi |
Chinese China (DEC Hanzi) |
zh_HK.dechanzi |
Chinese Hong Kong (DEC Hanzi) |
Note
For DECwindows Motif and CDE, the locale modifier is ignored.