Knowledge base

Find articles about information features, troubleshooting guides, and other technical information related to the hosting service Hostinger.

access_time
Saturday, June 17, 2017
How can I change page encoding?

You need to complete the following step to change page encoding:

Add this line somewhere below HEAD tag:

<meta http-equiv="Content-Type" content="text/

Note: You can change UTF-8 to any other encoding you want, but we recommend using UTF-8.


If this does not help, please check if your files are really encoded in UTF-8. You can do this with software such as Notepad++.

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

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

 

encodingpage encodingutf8encodewebsite encodingcharset