Problem
I want to know about the file format of /etc/default/codeset and how it is used.
Solution
A typical /etc/default/codeset file follows:# Copyright (C) 1994-1996 The Santa Cruz Operation, Inc.
# All Rights Reserved.
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc. Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# this notice and the associated copyright notice with any such product.
# The information in this file is provided "AS IS" without warranty.# default/codeset - Specification of system supported codesets.ISO8859-1 iso 8859 ISO8859-2 ASCII ascii IBM850 850 console ISO8859-2 console IBM437 437 ibm console IBM852 852 console IBM860 por console IBM865 nor console ISO8859-1 iso 8859 console
This file is used by ScoAdmin International Manager in the following way:
The first line that ends without the word "console" specifies the internal system codeset, ISO8859-1, in this case. The internal system codeset is used internally by UNIX and applications such as X(X).
The first line to end with the word "console" specifies the console
codeset, IBM850, in this case. The console codeset is used by the
system console and the SCO ANSI emulator scoterm(XC).All other lines that end without the word "console" are optional internal system codesets offered by ScoAdmin International Manager, for example, ASCII.
All other lines that end with the word "console" are optional console codesets offered by ScoAdmin International Manager, for example, IBM437.
See also
SCO OpenServer Handbook, Chapter 12: "Specifying the locale."