Options (3)
-f, --from-codebooleanConvert file to a specific encoding, and print to `stdout`
Example:
iconv {{[-f|--from-code]}} {{from_encoding}} {{[-t|--to-code]}} {{to_encoding}} {{input_file}}-t, --to-codebooleanConvert file to a specific encoding, and print to `stdout`
Example:
iconv {{[-f|--from-code]}} {{from_encoding}} {{[-t|--to-code]}} {{to_encoding}} {{input_file}}-l, --listbooleanList supported encodings
Example:
iconv {{[-l|--list]}}Examples (3)
Convert file to a specific encoding, and print to `stdout`
iconv [-f|--from-code] from_encoding [-t|--to-code] to_encoding input_fileConvert file to the current locale's encoding, and output to a file
iconv [-f|--from-code] from_encoding input_file > output_fileList supported encodings
iconv [-l|--list]made by @shridhargupta | data from tldr-pages