Forrest logo
back to the iconv tool

iconv:tldr:5fb8c

iconv: List supported encodings.
$ iconv -l
try on your machine

The command "iconv -l" is used to list all the available character encodings supported by the "iconv" program.

The "iconv" program is a command-line tool in Unix-like operating systems that performs character encoding conversions. It can convert text from one character encoding to another, such as from UTF-8 to ASCII or vice versa.

When you run the "iconv -l" command, it displays a comprehensive list of all the character encodings that are supported by the "iconv" program. This list includes encodings like UTF-8, ASCII, ISO-8859-1, UTF-16, etc.

By examining this list, you can determine which encodings are available for conversion and choose the appropriate encoding for your specific use case.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the iconv tool