>>The document must be written in UTF-8:
In ColdFusion, you must include <cfprocessingdirective
pageencoding="utf-8">
Under CFMX, no problem. Their problem is with CF 5.
<cfprocessingdirective pageencoding
is not available in CF 5.
>>For XML:
>><?xml version="1.0" encoding="UTF-8" ?> must be the very first thing
in the file.
This is if you want to use UTF-8.
But the whole application is with iso-8859.
<?xml version="1.0" encoding="ISO-8859-1" ?>
will work pretty wel for templates actually returning xml.
But the problem is not with the content returned by the template called
by Ajax,
it is with the text SENT by Ajax.
Apparently anything sent by XMLHttp.send is sent in UTF-8, even when using
XMLHttp.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded; charset=iso-8859-1");
Personally, I got tired of trying everything, I convert any text to
hexadecimal before sending
and back to ASCI when receiving. No more problem.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318318
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4