Copyright symbol not displaying

This is a very weird issue - for some reason, I’m having trouble displaying a copyright symbol on the footer of my site (http://www.cyclopsearch.com).

I’ve tried using © and & # 1 6 9 ;, but neither of them want to display properly. I’ve checked all my fonts and they are arial and verdana, so I don’t think that’s the issue.

Any other ideas?

With the encoding you state UTF-8 therefore © or © are you two main options.

Actually I tried both of those options as well as removing the encoding specification altogether, but still, nothing has seemed to work.

Any other thoughts?

Is there a possibility your tags aren’t closed? I am looking at your code and for a start it is quite dirty. I would try laying it out so it is easier to read. It might be a simple error.

Yeah, the majority of the code is being generated from a script, hence the lack of proper formatting. Everything validates fine and I’m not seeing anything that would cause such a problem, such as an improperly closed tag…

Anyway, I’d owe you big time if you can spot something I’m overlooking.

weird, it’s not inside php code is it?

Nope, just straight up HTML:

<table width="770" align="center" class="footer">
 
   <tr> 
 
 	<td width="50%">Powered by: <a href="http://www.phplinkdirectory.com" target="_blank" title="PHP Link Directory">PHP Link Directory</a><br />Designed by: <a href="http://www.osdesigner.net" target="_blank" title="phpLD template house">OSDesigner</a> | <a href="http://www.jimday.net" target="_blank">Jim Day</a><br />Sponsored by: <a href="http://www.agnivo.com/web-directory-network/" target="_blank">Web Directory Network</a></td>
 
 	<td valign="top"><div align="right">Copyright © 2006 <a href="{$smarty.const.DOC_ROOT}/">{$smarty.const.DIRECTORY_TITLE|escape|trim}</a>. All Rights Reserved.</div></td>
 
   </tr>
 
 </table>

Can you post the php file?

This is actually the entire footer.tpl smarty template file:

{strip}

{* Pagination *}

{if !empty($MainPaging) and $MainPaging.page_total > 1}

<table width="770" border="0" align="center" class="border2">

  <tr>

	<td class="navbar">

	  <div style="float:right;">

		 {* Display Paging Header *}

		 <span class="linkshortdesc">{l}Items {$MainPaging.first}-{$MainPaging.last} out of {$MainPaging.total} displayed.{/l}</span>

		 {* Display Paging Links *}

		<span class="paging-links">

		{paginate_first id="MainPaging"} {paginate_prev id="MainPaging"} {paginate_middle id="MainPaging" format="page" prefix="" suffix="" link_prefix=" " link_suffix=" " current_page_prefix="[" current_page_suffix="]"} {paginate_next id="MainPaging"} {paginate_last id="MainPaging"}

		</span>

	  </div>

	  {l}Total records:{/l} {$MainPaging.total}

   </div>  

	   </td>

  </tr>

</table>

{/if}

<br />

<table width="770" align="center" class="footer">

  <tr> 

	<td width="50%">Powered by: <a href="http://www.phplinkdirectory.com" target="_blank" title="PHP Link Directory">PHP Link Directory</a><br />Designed by: <a href="http://www.osdesigner.net" target="_blank" title="phpLD template house">OSDesigner</a> | <a href="http://www.jimday.net" target="_blank">Jim Day</a><br />Sponsored by: <a href="http://www.agnivo.com/web-directory-network/" target="_blank">Web Directory Network</a></td>

	<td valign="top"><div align="right">Copyright © 2006 <a href="{$smarty.const.DOC_ROOT}/">{$smarty.const.DIRECTORY_TITLE|escape|trim}</a>. All Rights Reserved.</div></td>

  </tr>

</table>

<br />



<!-- google analytics -->

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">

</script>

<script type="text/javascript">

_uacct = "UA-420772-2";

urchinTracker();

</script>

<!-- google analytics -->



</body>

</html>

{/strip}

Thanks for your help by the way!

and you have already tried?
<div align=“right”>Copyright © 2006 <a href=“{$smarty.const.DOC_ROOT}/”>{$smarty.const.DIRECTORY_TITLE|escape|trim}</a>. All Rights Reserved.</div></td>

</tr>

If the copyright symbol isn’t showing, what is? Does it display as
Copyright 2006
or are there “wierd” characters in the symbol’s place?

Yep - that’s the very first thing I tried - the forum just interpreted the code as a copyright symbol and didn’t come though that way in my post.

In Firefox, I’m getting that strange little diamond with a question mark in it and in Internet Explorer, I’m getting just a question mark in place of the copyright symbol.

You can take a look at: http://www.cyclopsearch.com

It’s in the footer.

Thanks again.

It’s definately something to do with character encoding.
With Firefox set at unicode UTF-8 it displays a question mark. But with character encoding set at western ISO-8859-1 it displays a copyright symbol OK.
The mark-up has this meta tag

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

So the browsers should know what encoding to use. BUT … AFAIK, HTTP headers take precedence over meta tags. You should check to see what encoding the server is using. Also, make sure the encoding of whatever you’re using to make/edit the pages isn’t contributing to the problem. (eg. Word set at Windows-1252 or something)

Damn, I could have sworn yesterday he set meta UTF-8, perhaps I looked at another source code window.

In either case it is a mismatch of encoding either choose UTF-8 or iso-8859-1.

I’d suggest UTF-8 the reason you are getting the Unicode “Replacement Character” (U+FFFD, �), is because you cannot directly place © in the file unless the file itself was saved in UTF-8 format.