OSF DCE Administration Guide--Introduction
OSF DCE Administration Guide—Introduction
do not collide with OSF-registered values. Use the colon character (:) to separate
multiple character set values.
For additional source file usage information, see the csrc(8dce) reference page in the
OSF DCE Administration Reference.
8.12.2 Generating the Code Set Registry File
Cell administrators of internationalized DCE cells use the csrc utility to create site-
specific code set registry files for each host in the cell. The cell administrator must run
csrc once for each host that exists in the cell. You need to run csrc on a per-host basis
because in some cases, the same operating system platform can be configured
differently from host to host. For example, the same operating system platform can be
multi-byte enabled on one machine, but single-byte enabled on another machine.
In order to run csrc, you need write permission to the /usr/lib/nls/csr directory, which
generally requires root privilege.
When invoked without options, csrc uses the default source file
/usr/lib/nls/csr/code_set_registry.txt and creates the default output file
/usr/lib/nls/csr/code_set_registry.db. Use the -i and -o options to redirect csrc to use
a specific source file or generate a specific output file. When csrc runs, it generates a
log file named CSRC_LOG in the current (working) directory.
8.12.3 Adding Intermediate Code Sets
By default, the DCE RPC features that support internationalized RPC applications use
the Universal code set ISO 10646 as the default intermediate code set (see the for an
explanation of intermediate code sets and how they are used in internationalized RPC
applications).
You can override this default by using the -m option to csrc, which adds a maximum
of five intermediate code set names to the code set registry file’s intermediate code set
priority list. Specify the local code set name for the intermediate code set (not its code
set identifier).
The order in which you specify intermediate code sets determines their order of
precedence in the list; that is, the first intermediate code set you specify on the
command line with -m becomes the first intermediate code set in the priority list, and
thus will be the first code set used should an intermediate code set be required for
internationalized RPC client-server communication.
8− 34 Tandem Computers Incorporated 124244