The character set is not declared
If the page does not say it uses UTF-8, browsers and bots may show accents, pound signs and symbols as broken letters.
Why it matters #
Text is sent as bytes. The character set tells the reader how to turn those bytes back into letters. If neither the Content-Type header nor the page says which set is used, browsers have to guess, and a wrong guess turns "£" or "é" into odd symbols.
The HTML standard says the charset declaration must come within the first 1,024 bytes of the page. A tag placed later may be read too late. Search engines and AI crawlers that read your text can store the broken letters too.
How to fix it #
Put <meta charset="utf-8"> as the very first thing inside the head, before the title, scripts and styles. Also send it in the header: Content-Type: text/html; charset=utf-8.
WordPress prints the charset tag from the theme's header file. If it is missing or late, move it to the top of the head in your theme.
What it looks like, and fixed #
<head>
<title>Café menu - £5 lunches</title>
</head>
No character set in the page or the header, so the browser guessed wrong and "Café" and "£" turned into broken letters.
<head>
<meta charset="utf-8">
<title>Café menu - £5 lunches</title>
</head>
The charset tag is the very first thing in the head, well within the first 1,024 bytes.
Fix it with your AI assistant #
Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.
My website [your website address], built with [your platform, e.g. a hand-made HTML site on Apache], does not declare its character set properly on [the page address], so accents and the pound sign may show as broken letters. First check two things and explain plainly what you found: the Content-Type response header (ask me to paste it if you cannot fetch it), and whether a <meta charset> tag exists and where it sits in the first 1,024 bytes of the HTML. Also check the files are really saved as UTF-8. Then fix it: put <meta charset="utf-8"> as the very first element inside <head>, and make the header say Content-Type: text/html; charset=utf-8. Rules: back up every file first, do not change any visible text unless it is already broken, keep page addresses the same, and do not remove other tags or server rules. Give me the exact lines and where each goes. Then tell me to re-check with the URSY.com Meta Tag Checker at ursy.com/meta-tag-checker/.
We find the problems, and help you fix them
- Check Run a free tool or the full audit.
- Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
- Re-check Come back, check again, and watch each fix turn green.
Fix it on your platform #
WordPress #
The theme header.php should print the charset tag first in the head, using bloginfo( "charset" ). If it is missing or late, move it to the top in a child theme.
A hand-made site #
Put <meta charset="utf-8"> as the first line inside <head>, and save the file itself as UTF-8 in your editor.
Your server or hosting #
Send the charset in the header too. On Apache add AddDefaultCharset UTF-8; on nginx add charset utf-8; to the server block.
Check it is fixed #
Run the URSY.com Meta Tag Checker again: it should find the charset early in the page. The HTTP Header Checker should show charset=utf-8 in Content-Type.
Official source #
Questions #
Do I need both the header and the tag? #
One is enough for browsers, but both is safest because the page may be saved or read without its header. They must say the same thing.
I added the tag and some letters are still broken. Why? #
The text itself was probably saved in another encoding, in the file or the database. Those words need to be corrected or the file re-saved as UTF-8.
More problems in Titles, descriptions and sharing
- No viewport tag for phones High priority
- The page has no title High priority
- The share image does not load High priority
- No share image (og:image) Medium priority
- Open Graph tags come too late in the page Medium priority
- robots.txt blocks the share preview crawlers Medium priority
- Several pages share the same title Medium priority
- The page has more than one title tag Medium priority