Well, I think I have found the problem, at least with CF 5:
I added an alert in the JS to show the HTTP headers returned by my CF 
template.
This template starts with:

<CFHEADER NAME="Content-type" VALUE="text/xml; charset=iso-8859-1">
<?xml version='1.0' encoding='iso-8859-1'?>

With CF 6, the header are indeed:

Server: Microsoft-IIS/5.1
Date: Sat, 30 Dec 2006 16:24:53 GMT
X-Powered-By: ASP.NET
Connection: close
Content-Type: text/xml; charset=iso-8859-1

But under CF 5 I get:

Server: Microsoft-IIS/5.1
Date: Sat, 30 Dec 2006 16:25:36 GMT
X-Powered-By: ASP.NET
Connection: close
Content-type: text/html
Page-Completion-Status: Normal
Content-type: text/xml; charset=iso-8859-1
Page-Completion-Status: Normal

Apparently, the default header "text/html" set by CF is not overridden 
by the one which declares the text to be iso-8859-1.
Then the charset must be 7 bit by default, and the Latin character 
causes the problem.

Then my question turns into this:
Is it possible to turn off the default header in CF 5?


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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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

Reply via email to