Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE issues with HTML5 headers.char utf-8 encode is shown as error

I am trying to make my site working on IE 9. But from the beginning itself, it shows many errors.

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

This is the error when I load in IE 9, but it's working fine in Firefox and Chrome. I am using HTML 5, so my header looks like below -

<meta http-equiv='cache-control' content='0' >  
<meta http-equiv='ETag' content='o2389r-98ur0-w3894tu-q894' />  
<meta http-equiv='pragma' content='no-cache' />  
<meta name="expires" content="never">   

Due to these errors, I am stuck. And no jQuery or javascript works. Can't even log in. Please help me. And also, suggest me a debugger for tracking javascript.

like image 546
SREE ANI Avatar asked Aug 24 '26 12:08

SREE ANI


1 Answers

This error shows up because you specified encoding inboth Content-Type HTTP Header and <meta> tag, and they specifies different codepage.

It's not an error, it's just a warning and I think it would not break your webpage. Mozilla just doesn't report such warnings but has the same behavior as IE9.

Try to modify your Content-Type HTTP Header to give a UTF-8 encoding would probably solve this problem.

like image 99
otakustay Avatar answered Aug 26 '26 02:08

otakustay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!