#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    Html content error


    The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol.
  2. #2
  3. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,933
    Rep Power
    1045
    Hi,

    yeah, that's an interesting error message. So do you have a particular question? What's your HTML?

    Like the message already says, you haven't specified your character encoding. So the browser doesn't know how to interpret the bits and bytes you're sending him. It has to guess.

    Set the encoding in the Content-Type header with either your webserver or PHP:
    PHP Code:
    header('Content-Type: text/html; charset=utf-8'); 
    (replace "utf-8" with the actual encoding)
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0
    Thanks a lot for your reply.

IMN logo majestic logo threadwatch logo seochat tools logo