Randonly website show strange characters

What is the name of the domain?


What is the error number?

strange characters

What is the error message?

there is no error but wrong characters

What is the issue you’re encountering

our website is showing strange characters when using Cloudflare

What are the steps to reproduce the issue?

take a look the image uploaded

Screenshot of the error

Hi there,

This issue can also be related to incorrect database or page encoding. In order to fix this issue, page encoding needs to be changed. Your website should also have UTF-8 meta tag:

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

You may also try to add this line at the top of your index.php page:

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

Other than that, you can try the following:

  • Open your HTML page in a text editor like Notepad or TextEdit.
  • Choose to save your page using save as.
  • In the encoding"options at the bottom, you can save your HTML page as UTF-8 instead of ANSI.
  • Check the meta charset tag near the top of your HTML page to see what type of encoding the page is using and save as that type.

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