Jump to content


Photo

Weird Characters Appear Only In Firefox


  • Please log in to reply
2 replies to this topic

#1 maxert

maxert
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 29 June 2006 - 08:51 PM

I am getting some odd characters appearing in the beggining of an include when rendered in firefox (v 1.5x on XP Pro). The characters are: 

These are not appearing in IE6

Any ideas on what is causing this?

The include line:
<?php 
include_once ('rootdir/filedir/filename.php');
?>

This is not occuring for other included files. This is the last include on the page.

Include file source:
</div></div>
<div id="footer">
        <div id="submenu">
        <ul>
        <li><a href="registry.php" <?php if ($thisPage=="Registry") echo " class='active' "; ?>title="Home">Registry</a></li>
        <li> - <a href="pictures.php" <?php if ($thisPage=="Pictures") echo " class='active' "; ?>title="Pictures">Pictures</a></li>
        <li> - <a href="contact.php" <?php if ($thisPage=="Contact") echo " class='active' "; ?>title="Contact Us">Contact us</a></li>
        </ul>
        <span class="clearfix"> </span>
        </div>
</div>
<script type="text/javascript">

if(typeof sIFR == "function"){
    sIFR();
};
</script>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "accountcode";
urchinTracker();
</script>

</body>
</html>

Any ideas?

Thanks!

#2 maxert

maxert
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 07 December 2006 - 07:35 PM

I figured out how to fix this... I used a HEX editor.

#3 matto

matto
  • Members
  • PipPipPip
  • Advanced Member
  • 230 posts

Posted 07 December 2006 - 11:26 PM

This can also be fixed by changing the following meta tag

from this:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
to this:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users