Error 'HTML1114: Codepage iso-8859-1 from (HTTP header) overrides conflicting codepage utf-8 from (META tag)


  • Am updating a website using Expression web4 using Dynamic Web templates. Pages include drop down menues and a calender function using java script. Onmy local test system everything works fine. When I load onto remote webserver I get error  

    HTML1114: Codepage iso-8859-1 from (HTTP header) overrides conflicting codepage utf-8 from (META tag)

    The functions all work but  <script id="sothink_dhtmlmenu" type="text/javascript">// <![CDATA[ st_siteroot=""; st_jspath="/js/stmenu.js"; if(!window.location.href.indexOf("file:") && st_jspath.charAt(0)=="/") document.write('<script type="text/javascript" src="'+st_siteroot+st_jspath+'"><\/script>'); else document.write('<script type="text/javascript" src="'+st_jspath+'"><\/script>'); ]]></script> .auto-style1 { font: normal normal bold large serif; margin-top: 0; margin-bottom: 0; font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif; color: #000000; } appear a top left corner of screen and screen formating goes wrong. Any suggestion please.
    Website admin
    Hunt Country
    Joint Masters
    Meet Card
    Hunter Trial
    Team Chase
    Point to Point
    Sponsored Ride
    Hunt Rides
    Contact Details
    Tuesday, July 05, 2011 8:53 AM

All replies

  • "Codepage iso-8859-1 from (HTTP header) overrides conflicting codepage utf-8 from (META tag)" means exactly what it says.
    The server is issuing a HTTP header that sets the codepage to iso-8859-1.  This will always override whatever codepage you have set in meta tags, and will cause problems with rendering encoded symbols (such as & c o p y ; [spaces added to ensure the characters render]).
    The HTTP header is normally similar to:
    Content-Type: text/html; charset=iso-8859-1

    and the meta tag:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     The solution is to remove the HTTP header, or to change the page charset in the meta tag to iso-8859-1 (which may introduce other problems).

    As for the rest, a link to the problem page is required so that all the CSS, HTML and javascript can be seen interacting - this is explained in the BEFORE POSTING and FAQs sticky thread at the top of the forum:

    Ron Symonds
    Microsoft MVP (Expression Web)
    Tuesday, July 05, 2011 9:45 AM