The terms locale and category relate to each other as follows:
A locale includes specification of a language, territory, code set, and other features. The Traditional Chinese Solaris operating environment includes the following locales:
C--For the ASCII English environment, the locale must be set to C.
zh_TW--For the Traditional Chinese environment in EUC, the locale must be set to zh_TW.
zh_TW.BIG5--For the Traditional Chinese environment in Big5, the locale must be set to zh_TW.BIG5.
zh_TW.UTF-8--For the Traditional Chinese environment in Unicode, the locale must be set to zh_TW.UTF-8.
zh_HK.BIG5HK--For the Traditional Chinese environment in Unicode, the locale must be set to zh_HK.BIG5HK.
zh_HK.UTF-8--For the Traditional Chinese environment in Unicode, the locale must be set to zh_HK.UTF-8.
A category is a set of features that comprises a locale. For example, character displays or time/date representations, whose behavior depends on the locale. Traditional Chinese Solaris categories include the following:
LC_CTYPE sets the character-type for classification and conversion.
LC_TIME sets the locale for representation of date and time.
LC_NUMERIC sets the number representation locale (used also for I/O).
LC_MONETARY sets the currency representation locale.
LC_MESSAGES sets the language locale for messages to users.
LC_COLLATE sets the locale-dependent collation of strings.
The environmental variable LC_ALL explicitly sets the same locale for all categories; it has the highest priority. If categories or LC_ALL are not set, the LANG environmental variable will determine the category setting.