Iconv-fencoding [-tencoding] [inputfile]... [function] converts the content of a given file from one encoding to another. [Description]-fencoding: converts characters from encoding. -Tenco
Iconv-f encoding [-t encoding] [inputfile]...
[Function]
Converts the content of a given file from one encoding to another.
[Description]
-F encoding: converts characters from encoding.
-T encoding: converts characters to encoding.
-L: list known encoding character sets
-O file: specifies the output file
-C: ignore invalid output characters
-S: indicates that warning information is forbidden, but not an error message.
-- Verbose: displays the progress.
The valid characters that can be specified by-f and-t are listed in the-l option command.
[Example]
* List currently supported character encodings:
[Quietheart @ lv-k test] $ iconv-l
* Transcode file1 and output the file to fil2:
[Quietheart @ lv-k test] $ iconv file1-f EUC-JP-MS-t UTF-8-o file2
Here, the output will be standard output if there is no-o.