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 Korean Solaris operating environment includes three locales:
C--For the ASCII English environment, locale must be set to C.
ko--For the Korean environment in EUC, locale must be set to ko.
ko.UTF-8--For the Korean environment in UTF-8, locale must be set to ko.UTF-8.
A category is a set of features that comprise a locale, such as character displays or time/date representations, whose behavior depends on the locale. Korean 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 inpout and output).
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 aren't set, the LANG environmental variable will determine the category setting.