Monday, January 13, 2003

Pasting From MS Word Results in Weird Characters

The following fixes the problem for the ColdFusion server (from Cameron Childress). Add these lines to the application.cfm:
<cfprocessingdirective pageencoding="iso-8859-1">
<cfset setEncoding("form","iso-8859-1")>
<cfset setEncoding("URL","iso-8859-1")>
<cfcontent type="text/html; charset=iso-8859-1">
Post a Comment