Please help - The DTD and some invalid characters showing on webpage as text

Discussion in 'HTML & Website Design' started by AshRo, Jun 3, 2010.

  1. #1
    Dear Fellow DP Members,

    Please can someone help with my site, www.metasystems.com. On the top, the DTD displays as text with broken start tags
    �?lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Also, the meta description tag seem to have gotten corrupted with this invalid character.

    <meta name="description" content="ERP Software solutions �?ICIM ERP software system for small business and discrete manufacturers with integrated order management, financials, CRM, warranty management, inventory control, shop floor management and many other ERP applications" />

    We are correcting this but it seems coming up every other day. Any help would be appreciated.

    AshRo
     
    AshRo, Jun 3, 2010 IP
  2. ryanriatno

    ryanriatno Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't see any invalid character there. It seems going to be just fine now.
     
    ryanriatno, Jun 4, 2010 IP
  3. atpaz

    atpaz Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    there are some invisible character there, you need to edit and delete those invisible character (press backspace / delete) even you don't see any char(s), additionally you might want to change your character set from utf-8

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    to
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
     
    atpaz, Jun 9, 2010 IP
  4. diggathedog

    diggathedog Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Probably the easiest way to remove stuff that shouldn't be there (but isn't necessarily easy to see ...) would be to just copy everything over onto a plain text file, then copy it all back. As suggested by atpaz, if you're still getting corrupted characters showing up, just delete everything around them and type them back in.
     
    diggathedog, Jun 9, 2010 IP