Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ iconv(1) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

iconv(3C)

iconv_close(3C)

iconv_open(3C)






       iconv(1)                                                    iconv(1)


       NAME
             iconv - code set conversion utility

       SYNOPSIS
             iconv -f fromcode -t tocode [file]

       DESCRIPTION
             iconv converts the characters or sequences of characters in
             file from one code set to another and writes the results to
             standard output.  Should no conversion exist for a particular
             character then it is converted to the underscore '_' in the
             target code set.

             Your system must have the appropriate data files for iconv to
             work.  The Language Supplement package provides a large
             selection of these data files.

             The required arguments fromcode and tocode identify the input
             and output code sets, respectively.  If no file argument is
             specified on the command line, iconv reads the standard input.

             iconv will always convert to or from the ISO 8859-1 Latin
             alphabet No.1, from or to an ISO 646 ASCII variant code set
             for a particular language.  The ISO 8859-1 code set will
             support the majority of 8-bit code sets.  The conversions
             attempted by iconv accommodate the most commonly used
             languages.

       EXAMPLES
             Assuming the Language Supplement package is installed on your
             system, the following converts the contents of file mail1 from
             code set 8859 to 646fr and stores the results in file
             mail.local.
                   iconv -f 8859 -t 646fr mail1 > mail.local

       FILES
             /usr/lib/iconv/iconv_data
                   lists the conversions supported
             /usr/lib/iconv/*
                   conversion tables, if any
             /usr/lib/locale/locale/LC_MESSAGES/uxmesg
                   language-specific message file [See LANG on environ(5).]

          Errors
             iconv returns 0 upon successful completion, non-zero
             otherwise.


                           Copyright 1994 Novell, Inc.               Page 1













      iconv(1)                                                    iconv(1)


      REFERENCES
            iconv(3C), iconv_close(3C), iconv_open(3C)














































                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026