Hi I created a free hosting and when I uploaded my pages the page with £ is showing a black diamond with question mark
Even symbols like ’ shows a question mark
I know the webpage page I created is ok as it works fine on another website. Anyone know why it’s not showing properly
Thanks
Add
<meta charset="utf-8">
to your <head>
element might help. (Suppose you are writing your own HTML)
Charset meta tags should not be necessary. HTML5 doesn’t support them at all, and UTF-8 should be the default. Most likely, the characters being shown on the page are simply not valid UTF-8 characters to begin with.
Is the text that’s not rendered correctly being loaded from the database? If so, please check if the characters are being displayed properly in phpMyAdmin, and that your PHP code sets the right database connection charset. I just wrote something about that for someone else here:
If the text is not from a database, please make sure that the file is saved with UTF-8 encoding too. Notably Windows Notepad has the tendency to save files with Windows specific encoding that doesn’t work on anything that’s not a Windows computer, including websites. One quick way to verify this is to try to open a file with our File Manager. If it cannot open the file, it means the file is not valid UTF-8.
I guess it’s average Safari development scenario then
Safari never got full HTML5 support and even today it will fail to work if you don’t specify a charset.
Its definitely not my files the problem I done it via website builder program and then I uploaded here and it’s displaying characters wrong.
I uploaded the same files on another free website googiehost and it works fine there. So it’s definitely a problem with infinityfree
I opened the file via the infinity free file manager they open up ok, so I don’t I know what problem is with infinityfree. Can I put my web address in here so you can check
Yes, absolutely! The topic template specifically asks for it.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.