The short answer: “ação” shows as “ação”, or as “a��o”, or as “a?o”. It is always the same problem: the text was written in one alphabet (encoding) and read in another. The fix is to make the file, the page, PHP and the database all speak UTF-8. You find where it fails, in order.
What each symptom points to
| What you see | Likely cause |
| “çã” (extra letters, starting with Ã) | UTF-8 text read as if it were another alphabet (Latin-1). The page or the connection is not saying it is UTF-8. |
| “�” (a diamond with a question mark) | Text in another alphabet read as UTF-8. The file was saved as ANSI/Latin-1. |
| “?” in place of the letter | The letter was lost when saved to the database: the table or the connection cannot hold accents. |
| Only in e-mails or only in a PDF | The message header or the PDF’s font, not the site. |
| After importing a database | The imported file was read with the wrong alphabet. |
Finding where it fails, in order
|
|
|
|
|
| Take a backup before converting anything, and do not convert the database without knowing what the problem is: converting twice writes double the strange symbols and is hard to undo. First find out whether the error is in reading (fixed without touching the data) or in saving. |
| If the data was already saved with the strange symbols, some can be fixed with a replacement in the database: Replacing text in the database. For spreadsheets with accents, see Product CSV. |
|
Tried this and the symbols are still there? Open a ticket with the address and an example of the text. Open a support ticket |
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from $6.60/mo (3-year plan, with coupon) See plans |
- 0 Users Found This Useful











