Technical article 105300

What is the file format of /etc/default/codeset and how is it used?

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

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."

From the Xinuos technical article database, record 105300. Reproduced with permission. The original is at www.sco.com/ta/105300, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.