Section E.1. How Encoding and Decoding Works

E 1 How Encoding and Decoding Works

The command-line Script Encoder utility (screnc.exe) is responsible for encodingscripts. To determine what to encode, the Script Encoder looks for a start encode marker, which takes the following form for VBScript code:

'**Start Encode**

The Script Encoder encodes the file from the point at which the start encode marker is encountered until the closing or %> tag, or until the end of the file is found. If there is no start encode marker, the Script Encoder encodes the entire script block indicated by the , <%...%>, or <%=...%> tags, or it will encode the entire file if no tags are encountered.

In addition to encoding the script, the Script Encoder changes the LANGUAGE attribute of the