Limited Time Offer - from ₹45.00/month
00
DAYS
07
HOURS
02
MINUTES
24
SECONDS
Get Started
×

Hostinger's Knowledge Base

Find articles and information about features, various troubleshooting guides,
and other technical information related to the Hostinger's 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');

 

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
45
00
/mo
Save 90%
Get started