Hi all,
I am getting trouble with upgrading to 1.6.4 from 1.5.2 with my page encoding.
My database is in latin1 and working good on 1.5.2
When upgrading to 1.6.4 content of my page show wrong (displayed as utf-8 instead of latin1 ).
I have used the following settings :
set_names = false
default_encoding=''
admin_encoding='utf-8'
set_lang=''
note that my database is still in latin1 even after upgrade. From 2 installations of cmsms accessing the same database it works on 1.5.2 but not in 1.6.4 with the same config.php settings.
if I use default_encoding='iso-8859-1' or if I set encoding value to iso-8859-1 in the encoding value of my template it works ( encoding is set to NULL otherwise).
Can anyone explain to me exactly what have changed in 1.6.4 ?
Another thing is that I don't know where to change encoding in the admin frontend. I supposed it to be in the template edit page but I see field with it ?
Thanks for your help.
[solved] Encoding and upgrade to 1.6.4
[solved] Encoding and upgrade to 1.6.4
Last edited by zoulou on Sun Sep 06, 2009 4:24 pm, edited 1 time in total.
Re: Encoding and upgrade to 1.6.4
One time more, in the config.php :
Code: Select all
$config['set_names'] = false;
Re: Encoding and upgrade to 1.6.4
please re-read my question.
I did set 'set_names' to false which did not change the behavior of 1.6.4
I did set 'set_names' to false which did not change the behavior of 1.6.4
Re: [solved] Encoding and upgrade to 1.6.4
my mistake,
I was actually importing in some part tpl files from my sites wich were not UTF8.
took me a long time to figure it out.
I was actually importing in some part tpl files from my sites wich were not UTF8.
took me a long time to figure it out.