iconv Utility
Jump to navigation
Jump to search
An iconv Utility is a utility program that is a character encoding conversion system (to solve character encoding conversion tasks).
- Context:
- It can (typically) be executed with a command pattern of
iconv -f old-encoding -t new-encoding file.txt > newfile.txt
- It can (typically) be executed with a command pattern of
- Example(s):
iconv -l
iconv -c -f utf-8 -t ascii
- See: Character Encoding.
References
2015
- (Wikipedia, 2015) ⇒ http://en.wikipedia.org/wiki/iconv Retrieved:2015-1-7.
- iconv is a computer program and a standardized application programming interface (API) used to convert between different character encodings.
2009
- http://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.13/iconv.1.html
- QUOTE: The iconv program converts text from one encoding to another encoding. More precisely, it converts from the encoding given for the −f option to the encoding given for the −t option. Either of these encodings defaults to the encoding of the current locale. All the inputfiles are read and converted in turn; if no inputfile is given, the standard input is used. The converted text is printed to standard output.
The encodings permitted are system dependent.
- QUOTE: The iconv program converts text from one encoding to another encoding. More precisely, it converts from the encoding given for the −f option to the encoding given for the −t option. Either of these encodings defaults to the encoding of the current locale. All the inputfiles are read and converted in turn; if no inputfile is given, the standard input is used. The converted text is printed to standard output.