The FCONVERT command is used to perform file conversions between ANSI, UTF-8, UTF-8 BOM, Unicode, and Base64 files.
Options
newfilename
Specifies the new file end result
newtype
Specifies the file type, which can be ANSI, UTF8, UNICODE, or BASE64
NONE
Specifies to encode the new file as UTF-8 without BOM.
oldfilename
Specifies the name of the existing file to convert (encode/decode)
oldtype
Specifies the file type, which can be ANSI, UTF8, UNICODE, or BASE64
Note
While ANSI, UTF-8, and Unicode refer to styles of text file encoding, users can convert any file type to Base64 and from it.
Examples
FCONVERT ANSI Transactions_ANSI.ASC TO UNICODE Transactions_Unicode.ASC
FCONVERT ANSI Quotes_ANSI.ASC TO UTF8 Quotes_UTF8.ASC NONE
FCONVERT BASE64 Order_BASE64.ASC TO ANSI Order_ANSI.ASC