How to resolve question marks and mysterious symbols on my site? Print

  • 0

If you are seeing some strange symbols that are displaying on your site, it is due to incorrect database or incorrect page encoding. Your website needs to have a UTF-8 meta tag and also change the page encoding.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Also, you can add the below line to the top of index.php file of your website.

header('Content-Type: text/html; charset=utf-8');

If your files are encoded with UTF8 with BOM, you will need to change it to UTF8 without BOM. You can use notepad++ to change the file encoding.


Was this answer helpful?

« Back
Sign up for a newsletter

chat