Accented characters such as é, ñ, or ö can turn into question marks when Firefox decodes a page with the wrong character encoding. The letters around them often look fine, which makes the damage easy to misread as a font problem.
Use the Repair Text Encoding command in Firefox's View menu and reload the page. If the marks survive, test the same URL in another browser to see whether the site or the browser is at fault.
In this guide, I have covered:
Contents
Why Accented Characters Appear as Question Marks in Firefox
You open a page and the accents are gone. Where é, ñ, ö, or ç should be, you see question marks instead.
Your keyboard is fine. The site’s fonts are fine. Firefox has decoded the page with the wrong character encoding.
Firefox takes a page’s encoding from the server’s response headers and from the page’s own HTML metadata. When that information is missing or wrong, the browser guesses. The guess can go wrong for a single page, or for every page on a site that shares the same declaration.
Mozilla’s support forum has the original discussion of this symptom: Mozilla Support’s question about characters appearing as question marks.
Repair Text Encoding From Firefox’s View Menu
Your first move should be the command Firefox already ships for this. It re-runs encoding detection for the current page with UTF-8 permitted, which is enough for the wrong-guess case. Picking a legacy encoding such as ISO-8859-1 by hand is no longer offered in Firefox for security reasons, so this is the replacement.
- Open the affected page in Firefox and leave that tab active.
- On Windows or Linux, press to reveal the menu bar, then open the View menu.
- Select Repair Text Encoding.
- Reload the page with + on Windows or + on macOS.
Accents back? Firefox had guessed wrong for that page and nothing else needs changing. Run the same repair on any other tab that shows the same damage.
The Repair Text Encoding item can be greyed out when a page has no encoding override to repair, such as a page that declares its charset correctly or a plain-text file. Greyed out does not mean Firefox is broken.
Use the Repair Text Encoding Toolbar Button
If broken accents keep turning up in your reading, a hidden menu gets old fast. Firefox can park the repair command on the toolbar, one click from any page.
- Right-click an empty area of the Firefox toolbar.
- Select Customize Toolbar….
- Find Repair text encoding in the list of available items.
- Drag the item onto the toolbar, then select to save the change.
- Switch back to the affected tab and click the new button.
Click the button, reload, and look at the text. A button that stays inactive usually means the page has nothing to repair, which puts the fault on the site rather than on Firefox.
Check Whether the Problem Is Limited to One Page
One page with broken accents points at the site. Every page with broken accents points at Firefox. Firefox character encoding is worked out per page, so comparing two pages tells you where the fault sits before you change any settings.
- Open the affected page in Firefox.
- Open a different page that contains accented characters in a second tab.
- Reload both with + on Windows or + on macOS and compare the text.
If the second page renders its accents correctly, the problem comes from that one site. Run the repair on the affected tab and tell the site owner, since their encoding declaration is likely wrong.
If both pages fail, keep going. Something inside Firefox is interfering with detection.
Try Troubleshoot Mode and Reset Firefox Settings
Extensions and tweaked preferences are the next suspects when every page misbehaves. Troubleshoot Mode switches them off for a single session without deleting anything, which makes it a clean test.
- Open the
menu in Firefox. - Select Help.
- Select Troubleshoot Mode….
- Select and wait for Firefox to reopen with Troubleshoot Mode enabled.
- Open the affected page and check whether the accented characters display correctly.
Accents that render correctly here mean an extension or a custom preference is behind the failure. Turn your extensions back on one at a time to find the culprit. If the text is still wrong, move on to resetting Mozilla Firefox browser settings. That clears preferences, so review the options carefully before you confirm.
When the Repair Command Does Not Fix the Page
Sometimes the characters reach your browser already broken. Repair Text Encoding can only fix a wrong guess, not text the server sent in the wrong character set. If the page still shows question marks, open the same URL in a private window and then in another browser.
Same result everywhere means the site’s problem, not yours. View the page source and look for a meta element with a charset value. A missing or incorrect declaration explains why the page cannot be repaired reliably, and it is worth reporting to the site owner.
Frequently Asked Questions
How do I repair text encoding in Firefox?
Open the View menu and select Repair Text Encoding, then reload the page. On Windows and Linux, press first if the menu bar is hidden.
Why are accented characters showing as question marks?
Firefox is decoding the page with the wrong character encoding. That usually means the page’s encoding metadata is missing or incorrect.
Can I choose a specific encoding such as ISO-8859-1 in Firefox?
No. Firefox no longer provides per-page encoding selection in its menus. Repair Text Encoding is the replacement, and it retries detection with UTF-8 permitted.
Why is Repair Text Encoding greyed out?
The command is unavailable when there is no encoding override to repair, which covers correctly declared pages and plain-text files. Reopen the page normally and try again.
Will clearing cookies and cache fix question marks in Firefox?
Not as a first move. Clearing browser data rarely changes how Firefox detects a page’s encoding. Run the repair command first, then test for extensions and changed settings if the text stays broken. If neither helps, the page itself is serving broken characters.
