*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> iconv (1)              


iconv(1)							      iconv(1)

NAME    [Toc]    [Back]

     iconv - code set conversion utility

SYNOPSIS    [Toc]    [Back]

     iconv [-ei] -f fromcode -t	tocode [file]
     iconv [-ei] -l

DESCRIPTION    [Toc]    [Back]

     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.

     With the arguments	fromcode and tocode identifying	the input and output
     code sets,	respectively iconv will	data perform conversion.  If no	file
     argument is specified on the command line,	iconv reads the	standard
     input. -e will echo conversion errors to standard error while -i will not
     report errors. -i is the default.

     Optional iconv converters are available by	installing IRIX	national
     language support options. iconv -l	will list converters that are
     configured	for that system. iconv -el will	only list those	converters
     that are able to be opened. These may be different	due to resource	or
     incomplete	installation problems.

     Unless otherwise specified, conversions between dis-similar code-sets are
     performed by using	UNICODE	as the intermediate code set.

EXAMPLES    [Toc]    [Back]

     The following converts the	contents of file "file.txt" from code set
     ISO-8859-1	to UTF-8 and stores the	results	in file	file.iv.

     iconv -f ISO8859-1	-t UTF-8 < file.txt > file.iv

     Or	if you have the	Japanese environment installed you may perform the
     following which converts file "file.sjis" from the	PC-DOS Japanese	code
     set to the	eucJP or Extended Unix Code for	Japanese and stores the
     results in	"file.eucJP".

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

SEE ALSO    [Toc]    [Back]


FILES    [Toc]    [Back]

	  lists	the conversions	supported
	  conversion tables
	  language-specific message file [See LANG on environ(5).]

									Page 1

iconv(1)							      iconv(1)

DIAGNOSTICS    [Toc]    [Back]

     iconv returns 0 upon successful completion, 1 otherwise.

									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
sconv HP-UX hp9000 utility for Simplified-Chinese code code-converter
iconv HP-UX code set conversion
mfconv HP-UX Mainframe code set conversion
iconv IRIX code set conversion tables
iconv IRIX code conversion function
iconv_close IRIX code conversion deallocation function
iconv_open IRIX code conversion allocation function
dmicanytoany IRIX Any to Any image conversion utility function
coder HP-UX HP EUC-CNS code reference utility
dmconvert IRIX digital media file conversion utility
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service