User Guide

cfprocessingdirective 271
cfprocessingdirective
Description
Provides the following insformation to ColdFusion on how to process the current page:
Specifies whether to remove excess whitespace character from ColdFusion generated content in
the tag body.
Identifies the character encoding (character set) of the page contents.
Category
Data output tags
Syntax
<cfprocessingdirective
pageencoding = "page-encoding literal string" />
or
<cfprocessingdirective
suppressWhiteSpace = "Yes" or "No"
pageEncoding = "page-encoding literal string">
CFML tags
</cfprocessingdirective>
See also
cfcol, cfcontent, cfoutput, cfsetting, cfsilent, cftable, SetEncoding,
Chapter
17, “Developing Globalized Applications,” in Developing ColdFusion MX Applications
History
ColdFusion MX:
Changed suppresswhitespace attribute value behavior: you can specify the
suppresswhitespace attribute value as a string variable. (ColdFusion 5 supported setting it
only as a constant.)
Added the pageEncoding attribute.