This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Input and Output / File Output /

Encode

FilledSmallSquare Encode["source", "dest"] writes an encoded version of the file source to the file dest.

FilledSmallSquare <<dest decodes the file before reading its contents.

FilledSmallSquare Encode["source", "dest", "key"] produces an encoded file which must be read in using Get["dest", "key"].

FilledSmallSquare Encoded files contain only printable ASCII characters. They begin with a special sequence which is recognized by Get.

FilledSmallSquare On certain computer systems Encode["source", "dest", MachineID->"ID"] can be used to generate an encoded file which can be read in only on a computer with a particular $MachineID.

FilledSmallSquare No function is provided in Mathematica to convert encoded files back to their original form.

FilledSmallSquare See Section 2.12.1.

FilledSmallSquare See also: ReadProtected, $MachineID.

FilledSmallSquare New in Version 2.

Further Examples