Strange symbols

Haven’t worked on website in a long time but kept it online…I decided to check it out and noticed a lot of things like this “expedition”… What caused this?

That could be a case of unicode (UTF-8 most likely) characters being interpreted as ISO-8859-1.

You can add one of the following to your document’s and see if that makes it look right in the browser:

HTML4: <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
HTML5: <meta charset="utf-8">

If that doesn’t work could you tell us a bit more about the site?

1 Like

I think those are “curly quotes”. Character encoding is involved, yes. But if you are using Word as your text editor you should consider not using it for things web.

I took a very short evening class in html/CSS and did a bad job. As a result I moved on to Wordpress but left the website out there. The link is http://www.stoutstandards.com. Don’t laugh…

The characters tend to show up under the “Latest News”…

Try swapping line 5 of your code on the Latest News page

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

for this

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

Sorry I forgot to add the preformatting on my first post, The code was hidden :disappointed:

4 Likes

Thanks, that did away with them. Appreciate.

2 Likes

Your Welcome :grinning:

If this is HTML code, the closing slash on empty elements is not needed. They are not flagged as an error. They are residue from XHTML and are not part of the HTML standards.

2 Likes

Good point!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.