Jump to content
Sign in to follow this  
bukwus

HTML register mark code broken

Recommended Posts

HelloThere's a section of our website that pulls most of its content from an XML page. In this page I use the HTML entity for register mark (®) in several places. Our host (Pair.net) just updated our servers to PHP 5 and it has seemed to cause all instances of the register mark code to add an uppercase, accented A in front of it. Here's an example:http://www.buzgate.org/zz/b2b_funding.html#COMMDIRI've tried using the alternative entity (®) but it breaks the page. Does anyone have any suggestions?Many thanks

Share this post


Link to post
Share on other sites
HelloThere's a section of our website that pulls most of its content from an XML page. In this page I use the HTML entity for register mark (®) in several places. Our host (Pair.net) just updated our servers to PHP 5 and it has seemed to cause all instances of the register mark code to add an uppercase, accented A in front of it. Here's an example:http://www.buzgate.org/zz/b2b_funding.html#COMMDIRI've tried using the alternative entity (®) but it breaks the page. Does anyone have any suggestions?Many thanks
I've had this happen. For me, it was a problem with the character encoding of the page.If you specify the encoding that you need for the pages, then it will over-ride the settings of people's browsers so that the page is rendered how it should be.Something like
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

in the head of the pages should solve the problem.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...