Ian Skinner wrote:
> Where would one put encoding hints like these in an Application.cfc file.
> 
> <!--- Set encoding hints for processing special characters. --->
> <cfprocessingdirective pageencoding="windows-1252" />

you can't use cfprocessingdirective in application.cfm & i guess 
application.cfc. it's a compile time tag (also why you can't use 
conditional logic with it).

> <cfset setEncoding("form","windows-1252") />
> <cfset setEncoding("url","windows-1252") />
> <cfcontent type="text/html; charset=windows-1252" reset="yes" />

these are fine.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251269
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to