[thelist] CFMX problem - HTML output cut off - and character encoding
Buffington, Michael
michael.buffington at office.xerox.com
Wed Jul 16 02:31:43 CDT 2003
There is nothing wrong with doing this:
<cfset setEncoding("form","utf-8")>
Vs.
<cfscript>
setEncoding('form', 'utf-8');
</cfscript>
[snip]
rather than use the <cfset> tag for a rather hackish function call like
this, i'd recommend using a <cfscript> block. to me it just seems wrong to
not use the <cfset> for assignment.
[/snip]
Both quite literally do the exact same thing, and it's safe to suggest that you don't benefit from any performance gain for dropping into cfscript for a single function call. No matter of right or wrong here, they're both right.
Michael Buffington
http://www.michaelbuffington.com/
More information about the thelist
mailing list