| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: CGI-ENCODE

Section: Variables

Synopsis:

`<cgi-encode VAR1 [VAR2...] [PRESERVE-CASE=TRUE]>`

Description:

A CGI readable string is created from the names of VAR1 ... VARN and the associated values of those variables. For example, if the variable `FOO-VAR` has the value `"Foo & Value"`, then the invocation

    <cgi-encode FOO-VAR>

produces:

    FOO-VAR=Foo+%26+Value

Given the optional keyword argument of PRESERVE-CASE=TRUE, `cgi-encode` encodes the variables preserving the case of them as they were input.

Thus,

    <cgi-encode Foo-Var preserve-case=true>

produces:

    Foo-Var=Foo+%26+Value

Edit Pointer
Function Index
Variable Index
Variable Editor

The META-HTML Reference Manual V1.4 Copyright © 1995, 1996, Brian J. Fox, 1996, 1997 Universal Access Inc.
Found a bug? Send mail to bug-manual@metahtml.com