[thelist] CFMX problem - HTML output cut off - and character encoding

Jeff Howden jeff at jeffhowden.com
Tue Jul 15 12:36:28 CDT 2003


sarah,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Sarah
>
> <cfset setEncoding("form","utf-8")>
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

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.

<cfscript>
  setEncoding('form', 'utf-8');
</cfscript>

.jeff

------------------------------------------------------
Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/




More information about the thelist mailing list