Strange punctuation on my website........- ? ' £etc
Strange punctuation on my website........- ? ' £etc
Author
Discussion

neilmac

Original Poster:

567 posts

293 months

Thursday 19th July 2007
quotequote all
Anyone got any ideas why question marks should suddenly appear where there were pound signs, apostrophes and hyphens?

I have checked my codes and all seems ok and it seems to display ok on IE7 but not on Firefox.

www.casa-blanca-rural.com

(Yes, I know the site is a bit basic - but it is my first attempt and a more advanced one is in the pipeline smile)

Any advice please people?

Cheers

Neil

Edited by neilmac because he can't seem to spell today on Thursday 19th July 15:09


Edited by neilmac on Thursday 19th July 15:11

JamieBeeston

9,294 posts

296 months

Thursday 19th July 2007
quotequote all
It's down to the CharSet your webhost is using on their webserver.

With them being american they'll be setup for their Charset..

you can try using £ instead of £ or just move to a UK Host wink

silent k

783 posts

262 months

Thursday 19th July 2007
quotequote all
As Jamie said it's the encoding, try putting

<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">


At the top of the web page that should force the browser to use the correct encoding (I think!).

Edited by silent k on Thursday 19th July 15:40

jagnet

4,442 posts

233 months

Thursday 19th July 2007
quotequote all
silent k said:
As Jamie said it's the encoding, try putting

<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">


At the top of the web page that should force the browser to use the correct encoding (I think!).
And remove your existing Charset meta tag as well.

The server is set up to send pages using ISO-8859-1, so ideally you want to use the same in your meta tags.

IainT

10,040 posts

269 months

Thursday 19th July 2007
quotequote all
Also a common error in cutting and pasteing from Word into your web site editor! (or in this case using it as your web editor)

Renders corrently in Forefox.

Edited by IainT on Thursday 19th July 15:54

neilmac

Original Poster:

567 posts

293 months

Thursday 19th July 2007
quotequote all
Thanks for your comments, I will look into your suggestions, but can't quite understand why it has been fine up until today and then a sudden change.

Since the original posting I have discovered that all is ok on my laptop, the problem is only being displayed on my PC, which is the machine I use to publish the website with any changes etc.


neilmac

Original Poster:

567 posts

293 months

Thursday 19th July 2007
quotequote all
Thanks guys - I've changed the CharSet as advised and all looks ok now.

Cheers

Neil

Edited by neilmac on Thursday 19th July 16:41