Errors when viewing the website

http://ilhadosdinobotsclassico.infinityfreeapp.com/

My website is in Brazilian Portuguese, and recently it is not displaying the accent characters and the letter “ç”.

Make sure the HTML file is saved as UTF-8 on your side (not as Windows-1252 as our servers don’t digest those encodings properly), then upload it on your domain’s htdocs folder again if it isn’t saved as UTF-8 already, and add this to the start of your head tag:

<meta charset="UTF-8">

This should probably be enough to fix the broken accents.

5 Likes

The charset meta tag is obsolete. You can’t specify the charset to use with a meta tag with HTML 5, instead you just must use UTF-8 at all times.

If you see garbled characters like that, it virtually always means your files were not saved with UTF-8 encoding. One way to verify this is to try to edit the file through the file manager. The file manager only supports UTF-8, so if the files is stored with different encoding, it will not be able to decode your file, and the editor will not work.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.