|
Nov 21
Joomla Core Hack - Change page encoding to ISO 8859-1 |
|
|
This is a core hack and you should use it with caution and on your own risk If you want to change the page encoding of your joomla site from UTF-8 to ISO-859-1 you can do this by editing [....]/libraries/joomla/factory.php search for 'utf-8' you will find something like : $attributes = array ( 'charset' => 'utf-8', 'lineend' => 'unix', 'tab' => ' ', 'language' => $lang->getTag(), 'direction' => $lang->isRTL() ? 'rtl' : 'ltr' ); replace it with $attributes = array ( 'charset' => 'iso-8859-1', 'lineend' => 'unix', 'tab' => ' ', 'language' => $lang->getTag(), 'direction' => $lang->isRTL() ? 'rtl' : 'ltr' );
|
|
|