Just tried the following in the page template


<cfprocessingdirective pageencoding="utf-8">
<cfcontent type="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


and the text returned from the database is still like


years

________________________________

From: Hua Wei [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 14:31
To: CF-Talk
Subject: RE: Coldfusion & UNICODE Characters

Ian,

try <cfprocessingdirective pageencoding="utf-8"> on top of your
templates

Hua

-----Original Message-----
From: Ian Vaughan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 9:26 AM
To: CF-Talk
Subject: RE: Coldfusion & UNICODE Characters

I was only using 'iso-8859-1' as an example (sorry to confuse you!)

I used utf-8 in my templates even though that its standard to MX ???

<cfcontent type="text/html; charset=utf-8"> <meta
http-equiv="Content-Type" content="text/html; charset=utf-8">

but it some characters are still displaying the square character etc..

________________________________

From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: 04 August 2004 14:15
To: CF-Talk
Subject: Re: Coldfusion & UNICODE Characters

Ian Vaughan wrote:

> Ive tried the following at the top of the template, but it still
displays the square character on certain characters such as ' " -
>  
> <cfcontent type="text/html; charset=iso-8859-1">
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">

ISO-8859-1? You are in the UK but you are trying to use a charset
that doesn't even have the euro symbol?

Bite the bullet and convert everything to unicode.

Jochem
________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to