Click to See Complete Forum and Search --> : weird © symbols in html
ARozanski
03-21-2009, 06:02 AM
Hi there...i am using dreamweaver to design my site and one of the problems i am having is that on some of my pages the © symbol comes out like � or any other random symbol.
I read up that you had to change character set to UTF-8 - it was already on UTF...i tried to play around with the character set - nothing changed. I checked on the pages where the © came out properly and it i couldnt find a relevant difference that would cause that...
thanks in advance for any help
Quidam
03-21-2009, 06:25 AM
Just write © which is the html code for ©
ARozanski
03-21-2009, 06:27 AM
tried that...tried everything i could - even the © gives me the weird symbol
Charles
03-21-2009, 06:45 AM
This is a Dreamweaver issue, perhaps the folks on the Dreamweaver forum can help. Dreamweaver doesn't really use HTML so any help we could give wouldn't really apply.
ARozanski
03-21-2009, 06:49 AM
Thing is, that even if i try to edit the html file without dreamweaver - it still does the same. I dont know what to do...i will check the Dreamweaver site for this issue - but i dont think thats going to help much...
Cheers
rpgfan3233
03-21-2009, 07:07 AM
Those symbols look familiar to me... Are you saving your pages with a BOM (byte order mark)?
Debug test if you can't find any problems: Try adding this to an affected page and click on the button (it should say "UTF-8" at the end, with "1" as the first message) -
<span id="copyProblem">©</span>
<input type="button" onclick="testIssue()" value="Test!" />
<script type="text/javascript">
<!--//--><![CDATA[//><!--
function testIssue() {
alert(document.getElementById('copyProblem').firstChild.nodeValue.length);
alert(document.characterSet);
}
//--><!]]>
</script>
</body>
ARozanski
03-21-2009, 07:12 AM
DUDE! It worked... Thank you so much! it was the (BOM) thing...