pike.hubbe.net

[Top]
MIME
previousMIME.parse_headers() MIME.quote_labled()next

Method MIME.quote()


Method quote

string MIME.quote(array(string|int) lexical_elements)

Description

This function is the inverse of the MIME.tokenize function.

A header field value is constructed from a sequence of lexical elements. Characters (ints) are taken to be special-characters, whereas strings are encoded as atoms or quoted-strings, depending on whether they contain any special characters.

Note

There is no way to construct a domain-literal using this function. Neither can it be used to produce comments.

See also

MIME.tokenize


Extracted from Pike v7.3 release 11 at 2001-11-03.