cidy.long cidy.long - 1 year ago 82
HTML Question

Copyright symbol "&#x00A9" is invalid?

I had a simple footer part html in my application to declare my copy right and right reservation. HTML code as:

<%@taglib prefix="c" uri=""%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "">

<p>Copyright &#x00A9 from 2013 of Longz Australia<img src="<%=request.getContextPath() %>/resources/img/g8626.png">. Tweed Head Self Storage &trade; and its logo/signs <img src="<%=request.getContextPath() %>/resources/img/g3039.png"> were registered in Australia. All rights reserved.</p>

Eclipse keep telling me:

Invalid character used in text string (Copyright &#x00A9 from 2013 of Longz

I tried to replace it with
, it is the same. But trade mark symbol "&trade" work well in same para. Seems Eclipse don't like to see &copy?

Browser rend it correctly. Only Eclipse keep complaint.

This is not a big issue, but it is annoy me.

Answer Source

Try &#169; but &copy; should work too

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download