To override the default_charset of your php.ini, use this method, use ini_set ('default_charset', 'Your Charset');
add this code snippet to each php file at the beginning ...
example: index.php
<?php $server_root = realpath($_SERVER["DOCUMENT_ROOT"]); $config_serv = "$server_root/php/config.php"; include("$config_serv"); ?>
then create the "php" folder inside your root server and put this file ... this piece of code serves latin1, overriding utf-8 ...
config.php
<?php
or this other ... this piece of code is for utf-8 that overlaps latin1 ... Use the first or second to suit your needs ...
config.php
<?php
source share