One can see an example here:
http://diplomes.med.umontreal.ca/testhtm.htm
The page just contains the string "� �" and call a javascript file which makes 
an alert with the same string
With this plain HTML file, it works ok.

Now with the exact same content in CF:
http://diplomes.med.umontreal.ca/testcfm.cfm
One can see that the JS alert is not correct.
This is because the text is in Latin-1, but Explorer tries to interpret it as 
UTF-8

Both the CFM and HTM files contain this:
<BODY>� �</BODY>
<SCRIPT LANGUAGE="JavaScript" SRC="test.js" TYPE="text/javascript"></SCRIPT>

and the JS file contains this:
alert("� �  ");

When I look at the content sent by the server in the cache, I see that the html 
file contains the string:
<BODY>� �</BODY>
But the CFM file contains:
<BODY>� �</BODY>
Because it has been converted to UTF-8
The javascript file however is not, but Explorer interprets "� �" as UTF-8

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




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191270
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to