for a flash page you can just add <!--- Set the MIME content-type of our response to "text/plain" ---> <cfcontent type="text/html" reset="yes">
---------------------------------------- From: "Calvin Ward" <[EMAIL PROTECTED]> Sent: Tuesday, March 01, 2005 6:40 AM To: CF-Talk <[email protected]> Subject: RE: CFMX, Dreamweaver and UTF-8 Isn't it actually better not to use cfcontent type="text/html in your Application.cfc if you are expecting a client other than a browser to access your application (Flash, webservices, etc.). Or if you are going to serve content other than HTML? And in that scenario use the cfcontent in your layout pages or other primary page(s) for HTML display? Which makes me wonder, what should happen when you have conflicting multiple cfcontent tags? - Calvin -----Original Message----- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 11:00 PM To: CF-Talk Subject: Re: CFMX, Dreamweaver and UTF-8 Calvin Ward wrote: > If I understand correctly, if I use Dreamweaver to save a .cfm file with a > BOM for Unicode, then I shouldn't need to use . Does > that sound correct? correct but not really the best practice. a BOM isn't actually part of the definition for utf-8. so if you have any other s/w monkeying with your files & it doesn't respect the BOM, bye-bye BOM, hello mojibake. and since you got me started on the subject, it's really a good idea to include cfcontent & setEncoding in the application.cfm (or the blackstone equivalents) and cfprocessingdirective on each page. and it's also still a good idea to provide language & encoding hints via html/meta tags (even though cf ignores these) for dumb as doorknobs spiders, screen readers, etc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196993 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

