Login Form






Lost Password?
No account yet? Register
Products
Nov
21
Joomla Core Hack - Change page encoding to ISO 8859-1
PDF

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

Comments
Add New Search
Anonymous   |Guest IP87.126.65.xxx |2009-04-11 11:54:49
Tatjana  - Thanks     |Guest IP212.200.44.xxx |2009-04-25 16:19:23
Thanks a lot for this post. I tried it on my site and it is working perfect.
Hezvo  - Headlines Africa     |Guest IP208.97.108.xxx |2009-08-04 18:44:30
you rock man....thaks for this fix.
jesus andres  - Perfect!!   |Guest IP190.38.205.xxx |2009-09-08 19:43:13
thanks bro... its works
Anonymous   |Guest IP41.234.49.xxx |2009-10-27 22:35:48
Greatttttttttttttttttttttt thanks lot sir
????   |Guest IP109.188.120.xxx |2010-05-11 11:43:42
Character problem. empty comment
Gigalpina  - It works   |Guest IP80.33.156.xxx |2010-07-21 15:27:43
thanks a lot, it works!
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
< Prev   Next >