Name
iconv
Synopsis
iconv [options
] -ffrom_encoding
-tto_encoding
[file
]
Convert the contents of file from one character set to another.
Common Options
-
-c
Omit invalid output characters.
-f
code1
,--from-code=
code1
Convert input characters from the code1 encoding.
-l
,--list
Print a list of valid encodings to standard output.
-s
,--silent
Operate silently; don’t print warning messages.
-t
code2
,--to-code=
code2
Convert input characters to the code2 encoding.
GNU/Linux Options
-o
file
,--output=
file
Write the converted output to file instead of standard output.
-
--usage
Print a brief usage message showing only the command syntax and then exit.
-V
,--version
Print version information and exit.
-
--verbose
Operate verbosely; print progress messages.
-?
,--help
Print a help message and exit.
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.