Have this at the top of the page:

<!DOCTYPE HTML PUBLIC "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
TRANSITIONAL//EN">
<META HTTP-EQUIV = "Content-type" CONTENT="text/html; CHARSET=Windows-1251"
>

There is a reason for using the windows charset - I think it was something
to do with windows 2000 not displaying special characters correctly.

I should say that this is mostly only happening on Javascript alert boxes.
Locally I don't get the problem, only on the live server. This is probably
because I have only downloaded the latest files for the directories I am
working in, my local copies of files are probably different outsie dof these
directories. I suppose I should look through live and local pages to see
where the difference is....

I tried &#163; and that actually appeared on the alert!

Thanks for the links people.

Giles Roadnight
http://giles.roadnight.name


-----Original Message-----
From: Paul Fennell [mailto:[EMAIL PROTECTED] 
Sent: 10 June 2003 17:30
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Bloody encoding again

Was the issue in using &pound  Are you setting a doc type ?
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Or relevant doctype ? 

and is there a reason your using 
<META HTTP-EQUIV = "Content-type" CONTENT="text/html;
CHARSET=Windows-1251">

rather than 
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">

??



-----Original Message-----
From: Giles Roadnight [mailto:[EMAIL PROTECTED] 
Sent: 10 June 2003 17:04
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] Bloody encoding again

I'm getting J's instead of �'s again. I have tried both � , chr(153) (or
whatever it is) and &pound; but none of them work.

I have this at the top of the page:

<META HTTP-EQUIV = "Content-type" CONTENT="text/html;
CHARSET=Windows-1251">

which I think has something to do with it.

Please help.

Giles Roadnight
http://giles.roadnight.name


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003
 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to