User Guide
334 Chapter 2: ColdFusion Tags
cfprocessingdirective
Description
Provides the following information to ColdFusion about 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, Page processing 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 ColdFusion MX Developer’s Guide
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.