genxlt man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

genxlt(1)							     genxlt(1)

NAME
       genxlt - Generates a codeset conversion table

SYNOPSIS
       genxlt [-f outputfile] [inputfile]

OPTIONS
       Specifies that the generated version of the codeset conversion table be
       placed in the file specified by outputfile.

DESCRIPTION
       The iconv subsystem can use either an algorithmic or a table  converter
       to convert data from one codeset to another. The genxlt command creates
       a table converter to be used by the iconv subsystem.

       The genxlt command reads a source codeset conversion  table  file  from
       inputfile  and  writes the compiled version to outputfile. If inputfile
       is not specified, standard input is used. If outputfile is  not	speci‐
       fied, standard output is used. The source codeset conversion table file
       contains directives that are acted upon by the genxlt command  to  pro‐
       duce the compiled version.

       The format of a translation source file is as follows: Lines whose ini‐
       tial nonwhite-space character is the # (number  sign)  are  treated  as
       comment	lines.	 Null  lines  and lines consisting only of white-space
       characters are treated as comment lines.	 Noncomment lines have	to  be
       of the following form: source target comment

       If source is found in the source codeset conversion table file multiple
       times, the last entry is used in the compilation of the translation ta‐
       ble.

       The  source  and	 target arguments must be in the range of 0x00 through
       0xff, inclusive; this restricts the table to 8-bit codesets.  The  con‐
       version table must define all of the 256 possible source values; other‐
       wise, processing the table results in an error.

       The following is an excerpt of a codeset conversion table:

       0x80    0xc7    C cedilla 0x81	 0xfc	 u diaeresis 0x82    0xe9    e
       acute  0x83     0xe2	a  circumflex 0x84    0xe4    a diaeresis 0x85
       0x40    a grave

       The name of the file generated by the genxlt command must use the  fol‐
       lowing  naming convention in order for the iconv subsystem to recognize
       the file as a valid converter.

       fromcode: "ISO8859-1-GL" tocode:	 "ISO8859-1"  conversion  table	 file:
       "ISO8859-1-GL_ISO8859-1"

       The  conversion	table  file name is formed by concatenating the tocode
       file name onto the fromcode file name,  with  an	 underscore  character
       between	the  two.  The	compiled  conversion  table must reside in the
       /usr/lib/nls/loc/iconvTable directory or, if the	 LOCPATH  variable  is
       defined,	 in  an iconvTable directory subordinate to the LOCPATH direc‐
       tory. Otherwise, the iconv command does not find the table.

					Note

       The  LOCPATH  variable  also  overrides	 the   default	 search	  path
       (/usr/lib/nls/loc)  that	 is  used to find locales. If this variable is
       defined, it must therefore specify a search path that  application  and
       system  software	 can use to find both locales and converters. The LOC‐
       PATH variable is not defined by any standard, so use  of	 the  variable
       should be limited to testing locales or converters under development.

EXIT STATUS
       If successful, the genxlt command exits with a value of 0 (zero). If an
       unknown flag is detected, or the specified input file  or  output  file
       cannot  be  opened, the genxlt command is unsuccessful and exits with a
       value of 1. If a syntax error is detected  in  the  input  stream,  the
       genxlt  command	will  exit immediately with a value of 2, and write to
       standard error the line numbers where the syntax error occurred.

SEE ALSO
       Commands:  iconv(1)

       Functions:  iconv(3)

								     genxlt(1)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net