On this page
What this issue is
A character encoding is the rulebook that turns stored bytes into letters. UTF-8 is the standard one and covers almost every language, plus curly quotes, dashes, euro signs and emoji. If a page does not say which encoding it uses, or says one and is saved in another, the reader guesses. The result is called mojibake: text such as ’ instead of an apostrophe, é instead of é, or a � symbol.
No charset or wrong charset
- Title: Café Menu – Book a Table
- Description shows ’ in place of apostrophes
- Looks careless in results
UTF-8 declared and saved correctly
- Title: Café Menu – Book a Table
- Apostrophes and accents display correctly
- Snippet reads cleanly everywhere
Why it costs you leads or sales
The direct impact is usually low, but it is visible. Strange symbols in a result make a business look neglected and can lower clicks. They can also hit the page itself: product names, prices with currency signs and form labels may display wrongly, which reduces trust at the moment someone decides to enter details.
How to check if your site has it
Search for your own pages
Search
site:yourdomain.comand scan titles and descriptions forâ€,Ãor�.View the source
Open the page, press Ctrl+U (Cmd+Option+U on Mac) and look in the first 1024 bytes of
<head>for<meta charset="utf-8">.Check the HTTP header
Run the command below and look for
charset=UTF-8in thecontent-typeline.Compare the two
The header and the meta tag should agree. If they differ, the header usually wins, so fix the header first.
curl -sI https://www.example.com/ | grep -i content-type
# Expected: content-type: text/html; charset=UTF-8- Text writtenTitle typed with é or ’
- Saved or servedNo charset, or a mismatch
- Crawler decodesReads bytes wrongly
- Snippet shownJunk characters in results
The break happens when the page is decoded, so everything after it carries the bad text.
How to fix it
The fix has three parts: declare UTF-8, serve it in the header, and make sure the content really is UTF-8. Declaring UTF-8 on text saved in another encoding will not repair it; you must also resave or convert the source.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Café Menu – Book a Table</title>
<meta name="description" content="Our menu and how to book a table.">
</head>Check the theme header
In header.php make sure
<meta charset="<?php bloginfo( 'charset' ); ?>">is present. Most themes include it.Check the database encoding
In wp-config.php,
define( 'DB_CHARSET', 'utf8mb4' );should be set. Older sites may havelatin1and need a careful migration with a backup.Check SEO plugin fields
Re-enter the garbled title or description in your SEO plugin and save.
Check theme.liquid
Under Online Store > Themes > Edit code, open layout/theme.liquid and confirm
<meta charset="utf-8">is near the top of<head>.Retype bad text
If imported product titles are garbled, fix them in the product page or re-import the CSV saved as UTF-8.
Leave the charset to Webflow
Webflow adds UTF-8 automatically. Look for garbled text pasted into Page settings > SEO title and meta description, and retype it.
Check custom code
Make sure no custom code in head adds a different charset.
Retype the affected text
Wix serves UTF-8. Open the page's SEO settings and retype garbled titles and descriptions instead of pasting from other tools.
Retype the affected text
Squarespace serves UTF-8. Retype the SEO title and description under the page's settings, then save.
Add the meta tag
Put
<meta charset="utf-8">as the first element in<head>, before<title>.Send the header
Set
Content-Type: text/html; charset=UTF-8on the server. Apache:AddDefaultCharset UTF-8. Nginx:charset utf-8;.Resave files as UTF-8
In your editor choose Save with Encoding > UTF-8. Convert database tables to utf8mb4 after a backup.
server {
charset utf-8;
charset_types text/html text/plain text/css application/javascript application/json;
}AddDefaultCharset UTF-8How to confirm it's fixed
- View source shows
<meta charset="utf-8">within the first 1024 bytes of head - The curl command shows
charset=UTF-8 - Accents, quotes and dashes display correctly in the browser tab and on the page
- The URL Inspection tool in Google Search Console shows clean text in the rendered page
- Request indexing for key pages, then recheck the snippet after the next crawl
How to prevent it happening again
- Use UTF-8 everywhere: files, database, header and meta tag
- Keep
<meta charset>as the first tag in head in your templates - Save CSV imports as UTF-8 before uploading
- Test a page with accents and curly quotes after every migration or server change
- Avoid pasting text from tools that add odd characters; paste as plain text
How FunnelGuard handles this
FunnelGuard does not check character encoding or snippet text yet. It is a possible future check. Today FunnelGuard runs your real customer journeys, such as lead forms and checkouts, on a schedule and checks each step, the tracking hits and whether test leads arrive. That can show you a broken page or form, but it will not tell you that a title is garbled.
Summary of causes and fixes
| Cause | Typical sign | Fix |
|---|---|---|
| No meta charset | Accents garbled on some browsers | Add <meta charset="utf-8"> |
| Header says another charset | Meta tag ignored | Set header to UTF-8 |
| File saved as Latin-1 | é for é | Resave as UTF-8 |
| Database in latin1 | Bad text only on dynamic pages | Convert to utf8mb4 after backup |
| Bad CSV import | Garbled product titles | Re-import as UTF-8 |
Questions people ask
Why does my title show weird characters like ’ in Google?
The page text was decoded with the wrong character encoding, usually because UTF-8 is not declared or the file was saved in a different encoding. Declare UTF-8 in a meta charset tag and the HTTP header, resave the content as UTF-8, then wait for Google to recrawl.
How do I declare UTF-8 on my website?
Add <meta charset="utf-8"> as the first tag inside <head> and send the header Content-Type: text/html; charset=UTF-8 from your server. Also make sure your files and database are actually stored as UTF-8.
Does a missing charset hurt SEO rankings?
It is not a direct ranking factor, but garbled titles and descriptions can lower clicks and make the page look untrustworthy. It can also make search engines misread your content, so it is worth fixing.
Why is my meta description full of question marks or � symbols?
The � symbol appears when the decoder meets bytes it cannot read in the declared encoding. Check that the text is saved as UTF-8 and that no header or tag declares another charset.
How can I check what charset my page uses?
Run curl -sI https://yoursite.com | grep -i content-type to see the header, and view the page source to find the meta charset tag. Both should say UTF-8.
Will fixing the charset update my Google snippet straight away?
No. Google has to recrawl the page and then choose to refresh the snippet. Requesting indexing in Search Console can speed it up, but allow days or weeks.
Does FunnelGuard detect charset problems?
No. FunnelGuard does not check character encoding yet; it is a possible future check. It monitors your journeys, tracking hits and test leads, so use the manual checks in this guide for encoding.
Related issues
- SEO-147Missing title tagFix guide
- SEO-150Title too long, truncated in resultsFix guide
- SEO-155Missing meta descriptionFix guide
- SEO-157Meta description too long or too shortFix guide
- SEO-159Wrong-language or wrong-product meta description after cloning pagesFix guide
- SEO-162Viewport meta missingFix guide