logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

05
DAYS
01
HOURS
57
MINUTES
46
SECONDS
Black Friday Sale: Cheap Web Hosting
From ₱35.00 /Month!
See All Deals
×

Knowledge base

Find information and articles about features, guides for troubleshooting,
and other useful information related to Hostinger's web hosting services.

How can I change page encoding?

Modified on:
encoding page encoding utf8 encode website encoding charset

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');