Difference between revisions of "Shell Commands/ConvertText"
From MorphOS Library
(Created page with "'''ConvertText''' - Converts a text file to a different character encoding SHOW/S, FROM, TO, SRCENC=SE/K, DESTENC=DE/K, WRITEBOM/S <nowiki> SHOW - Lists all available en...") |
(No difference)
|
Latest revision as of 13:48, 4 January 2016
ConvertText - Converts a text file to a different character encoding
SHOW/S, FROM, TO, SRCENC=SE/K, DESTENC=DE/K, WRITEBOM/S
SHOW - Lists all available encodings and their aliases FROM - Name of the source file TO - Name of the destination file SRCENC - Encoding of the source file DESTENC - Encoding of the destination file WRITEBOM - Writes ByteOrderMark at start of text if output encoding is a flavor of UTF-16 or UTF-32
Examples:
Ram Disk:> ConvertText test.txt test.utf8 DE=UTF-8 Ram Disk:> ConvertText test.utf8 test.txt SE=UTF-8 DE=ISO-8859-1