Strange Bug in HTML Editor 2008 -...

User 465126 Photo


Registered User
40 posts

I am working on building my site locally on my PC as I dont have a web host yet. I pretty much completed the basic layout that I will use throughout the site and I used an external CSS. The strange problem is that everything is fine except for some question marks that appear in the top left corner of my page when I preview it and also when I test it in my browsers. However, the question marks dont appear when I view it in the Visual Design screen but they are there on the preview and browsers? Anybody run into this problem also? I also noticed that if I switch back and forth a few times between editor, visual, and preview mode, the questions marks will disappear after a few times that I do that. Keep in mind that I am not editing any code while I switch back and forth. They just disappear after a few times. What can be causing this? Thanks all!
User 463058 Photo


Ambassador
1,080 posts

Sounds like the page is being saved with utf-8 encoding and you should have this in the head section of the html:

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

Or this if you're using xhtml:

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

It may be that this meta tag is either missing or is set to something else, such as "charset=iso-8859-1".
User 465126 Photo


Registered User
40 posts

Cary wrote:
Sounds like the page is being saved with utf-8 encoding and you should have this in the head section of the html:

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

Or this if you're using xhtml:

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

It may be that this meta tag is either missing or is set to something else, such as "charset=iso-8859-1".

That tag is in my page. Actually its on there by default on any new page you start, so I just left it there. So I don't think thats the problem. This is exactly what my html looks like right now. (this is just my html without my css)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<html>
<head>
<title>Title</title>
<link rel="stylesheet" type="text/css" href="layout.css"/></link>
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<meta name="author" content="Roo S"/>
<meta name="copyright" content="2008"/>
</head>
<body>
<h1><b><i><u>FEATURED</u></i></b></h1>
<h2><b><i><u>NEWS &amp; VIEWS</u></i></b></h2>
<div id="logo">logo</div>
<div id="leftcolumn"></div>
<div id="footer">footer</div>
<div id="rightcolumn">Your
Text Here</div>
</body>
</html>
User 463058 Photo


Ambassador
1,080 posts

I also forgot that the HTML Editor doesn't save the BOM, so that won't produce the question marks.
User 465126 Photo


Registered User
40 posts

Im assuming that its some kind of bug because it has nothing to do with the code. One minute it can be perfect and the next minute the mystery question marks appear on my page and thats when I just switch views a couple times and then they disappear again.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.