Click here to Skip to main content
15,352,563 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am getting content-type' header charset value should be 'utf-8 warning, when I open inspect element in my browser, then bottom at the issues section it is in compatibility category. I am using PHP,MYSQL,javascript,css,html for my website and it is local. I already had
<meta charset="UTF-8">
at the top of the header page.
Here is a photo of the issue
and here is more about the issue

What I have tried:

I tried adding
<meta charset="UTF-8">
But still the issue exist
Updated 9-May-22 2:18am

1 solution

FRS4002 9-May-22 9:11am
I've added X-Content-Type-Options=nosniff in meta tag, but still the issue exist...
Richard MacCutchan 9-May-22 10:47am
Go and read that link, it explains what you need to do.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900