CFMX is forcing all output by default to UTF-8.
That means that everyting should be converted to UTF-8, including 
Javascript files,
which is a lot of trouble if you have the same application runing on 
different servers.

In my case, I solved the problem using this in Application.cfm :
<CFSET CFversion = listGetAt(server.coldfusion.productVersion, 1)>
<CFIF CFversion GT 5>
    <cfcontent type="text/html; charset=ISO-8859-1">
    <cfset setEncoding("url","ISO-8859-1")>
    <cfset setEncoding("form","ISO-8859-1")>
</CFIF>

It makes your code ISO-8859-1 under CF 5 or higher.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231434
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to