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.
Both the HTML and CFM pages has UTF-8 content type.
Are you using cfprocessingdirective pageEncoding=utf-8 along with the
proper font?
~|
Order the Adobe Coldfusion Anthology now!
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
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
4 matches
Mail list logo