RE: UTF-8 Languages
A long time ago I did a foreign language app in CF5 or CF6 and I never needed cfprocessingdirective. Thanks Leigh! That fixed it. -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Thursday, December 09, 2010 3:01 PM To: cf-talk Subject: Re: UTF-8 Languages > Both the HTML and CFM pages has UTF-8 content type. Are you using along with the proper font? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339945 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: UTF-8 Languages
Also, sometimes your editor will default to the wrong file encoding, so if you made one file with Dreamweaver and one with Eclipse (like CFBuilder), one or the other could have picked up the windows file encoding. Open them in Notepad (or equivalent) to see if the characters are there after you save them to disk. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Thu, Dec 9, 2010 at 1:01 PM, Leigh wrote: > > > Both the HTML and CFM pages has UTF-8 content type. > > Are you using along with the > proper font? > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339944 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: UTF-8 Languages
> Both the HTML and CFM pages has UTF-8 content type. Are you using along with the proper font? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339943 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
UTF-8 Languages
Hello, If I paste some foreign characters into an HTML file on my IIS server the characters display just fine. If I paste the same foreign characters into a CFM page they display wrong. You can grab some text from this Lorem Ipsum generator if you want to try yourself. http://uk.lipsum.com/ Both the HTML and CFM pages has UTF-8 content type. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Untitled Document Is there something in CF Admin I need to switch on for the foreign characters to display correctly? This is CF8 on IIS. It is just straight up text on the page. I am not pulling it from a database or anything like that. Thanks! Chad ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339942 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm