Unix/Linux Go Back    

NetBSD 6.1.5 - man page for iconv (netbsd section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

ICONV(1)			   BSD General Commands Manual				 ICONV(1)

     iconv -- codeset conversion utility

     iconv [-cs] -f from_name -t to_name [file ...]
     iconv -f from_name [-cs] [-t to_name] [file ...]
     iconv -t to_name [-cs] [-f from_name] [file ...]
     iconv -l

     The iconv utility converts the codeset of file (or from standard input if no file is speci-
     fied) from codeset from_name to codeset to_name and outputs the converted text on standard

     The following options are available:

     -c    Prevent output of any invalid characters.  By default, iconv outputs an ``invalid
	   character'' specified by the to_name codeset when it encounters a character which is
	   valid in the from_name codeset but does not have a corresponding character in the
	   to_name codeset.

     -f    Specifies the source codeset name as from_name.

     -l    Lists available codeset names.  Note that not all combinations of from_name and
	   to_name are valid.

     -s    Silent.  By default, iconv outputs the number of ``invalid characters'' to standard
	   error if they exist.  This option prevents this behaviour.

     -t    Specifies the destination codeset name as to_name.

     The iconv utility exits 0 on success, and >0 if an error occurs.


     iconv conform to IEEE Std 1003.1-2001 (``POSIX.1'').

     iconv first appeared in NetBSD 2.0.

BSD					  March 20, 2008				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:08 AM.