Why not put it in onApplicationStart?

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 11:27 AM
To: CF-Talk
Subject: Where you one put encoding hints in an Application.cfc?


Where would one put encoding hints like these in an Application.cfc file.

<!--- Set encoding hints for processing special characters. --->
<cfprocessingdirective pageencoding="windows-1252" />
<cfset setEncoding("form","windows-1252") />
<cfset setEncoding("url","windows-1252") />
<cfcontent type="text/html; charset=windows-1252" reset="yes" />

My first guess would be onRequestStart, but is there a better place, and if
so, why?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:251263
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