iconv -f IS8859 -t IS6937 datafileconverts the file datafile from IS8859 encoding to IS6937 encoding, reads the conversion tables from <path-prefix>/conv/IS8859_IS6937, and writes the results to standard output.
The conversion tables are held in a file whose name and path
are constructed like this:
<path-prefix>/conv/fromcodeset_tocodeset
where <path-prefix> defaults to /usr/lib/nls if and only if the environmental variable ICONV is not set.
Each line in the conversion table specifies a conversion from the first string to the second string on the same line. Spaces and tabs are used to delimit tokens, the \ character is used to escape the next character and to introduce (exactly) three digit octal constants. Blank lines and lines starting with a hash (#) are introduced.
# a sample conversion table # fromcode tocodeOther available options are:\# wasahash \040 wasablank string another\040string