Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

genxlt(1)

iconv(3)

iconv(1)  —  Commands

NAME

iconv − Converts encoded characters to another codeset

SYNOPSIS

iconv -f from_code -t to_code [file ...]

DESCRIPTION

The iconv command converts the encoding of characters in file from one coded character set to another and writes the results to standard output.  The command searches directories of algorithmic and table converters to find one that performs the requested conversion. 

FLAGS

-f from_code
Specifies the input codeset.

-t to_code
Specifies the output codeset.

The input and output coded character sets are identified by from_code and to_code.  If the file argument is not specified on the command line, the iconv command reads the standard input.  The result of specifying invalid characters in the input stream is that the input value is translated to the substitute character. 

EXAMPLES

To convert the contents of the eucJP.file file from the eucJP to the SJIS codeset, and store the results in the sjis.file file, enter:

iconv -f eucJP -t SJIS eucJP.file > sjis.file

FILES

/usr/lib/nls/loc/iconv/∗
Algorithmic converters.

/usr/lib/nls/loc/iconvTable/∗
Table converters.

RELATED INFORMATION

Commands:  genxlt(1). 

Functions:  iconv(3). 

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