Changing whole server WHM charset from iso-8859-1 to utf-8


In httpd.conf add (or change if it’s already there):

AddDefaultCharset utf-8


Add this to your .htaccess:

IndexOptions +Charset=UTF-8

You can make changes to the /usr/local/lib/php.ini file via:
“WHM Home » Service Configuration » PHP Configuration Editor”

Adjusting the “default_charset” value via this option will update the php.ini file accordingly.
Remember to restart Apache after making the change to ensure it takes effect.