73 lines
2.1 KiB
HTML
73 lines
2.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<html>
|
|
<head>
|
|
<meta name="generator" content="HTML Tidy, see www.w3.org">
|
|
<meta http-equiv="Content-Type" content=
|
|
"text/html; charset=utf-8">
|
|
<title>iconv - Convert characters from one CCSID to another CCSID</title>
|
|
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</HEAD>
|
|
<body bgcolor="#FFFFFF">
|
|
<!-- Java sync-link -->
|
|
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
|
|
|
|
|
|
|
<h2>iconv - Convert characters from one CCSID to another CCSID</h2>
|
|
|
|
<strong>Synopsis</strong>
|
|
|
|
<p><strong>iconv -f</strong> <em>fromCCSID</em> <strong>-t</strong> <em>toCCSID</em> <strong>[</strong> <em>file</em> ... <strong>]</strong>
|
|
|
|
<p><strong>Description</strong></p>
|
|
|
|
<p>The <strong>iconv</strong> utility converts the encoding of characters read
|
|
from either standard input or the specified <em>file</em> from one CCSID to
|
|
another CCSID and then writes the results to standard
|
|
output. The input data is assumed to be in the CCSID specified by the
|
|
<em>fromCCSID</em> parameter. If <em>file</em> is not specified, the
|
|
<strong>iconv</strong> utility reads from standard input.</p>
|
|
|
|
<p>You must specify <a href="../nls/rbagsccsidcdepgscharsets.htm">valid i5/OS<SUP>(TM)</SUP> CCSIDs</a> with a supported
|
|
conversion for the <em>fromCCSID</em> and <em>toCCSID</em> parameters.</p>
|
|
|
|
<p><strong>Options</strong></p>
|
|
<dl>
|
|
<dt><strong>-f</strong> <em>fromCCSID</em></dt>
|
|
|
|
<dd>The input data is encoded in the <em>fromCCSID</em>.</dd>
|
|
|
|
<dt><strong>-t</strong> <em>toCCSID</em></dt>
|
|
|
|
<dd>The output data is encoded in the <em>toCCSID</em>.</dd>
|
|
|
|
</dl>
|
|
|
|
<p><strong>Operands</strong></p>
|
|
|
|
<p>The <em>file</em> operand specifies a path name to a regular file.</p>
|
|
|
|
<p><strong>Exit Status</strong></p>
|
|
|
|
<ul>
|
|
<li>0 when successful</li>
|
|
|
|
<li>1 when the conversion is not supported or there is an error with <em>file</em></li>
|
|
|
|
<li>2 when there is an error during the conversion</li>
|
|
</ul>
|
|
|
|
<p><strong>Related information</strong></p>
|
|
|
|
<ul>
|
|
<li><a href="locale.htm">locale - Get locale specific information</a></li>
|
|
|
|
<li><a href="tr.htm">tr - Translate characters</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|