[solved] Encoding and upgrade to 1.6.4

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
zoulou
New Member
New Member
Posts: 3
Joined: Thu Sep 03, 2009 12:47 pm

[solved] Encoding and upgrade to 1.6.4

Post by zoulou »

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.
Last edited by zoulou on Sun Sep 06, 2009 4:24 pm, edited 1 time in total.
Jean le Chauve

Re: Encoding and upgrade to 1.6.4

Post by Jean le Chauve »

One time more, in the config.php :

Code: Select all

$config['set_names'] = false;
zoulou
New Member
New Member
Posts: 3
Joined: Thu Sep 03, 2009 12:47 pm

Re: Encoding and upgrade to 1.6.4

Post by zoulou »

please re-read my question.
I did set 'set_names' to false which did not change the behavior of 1.6.4
zoulou
New Member
New Member
Posts: 3
Joined: Thu Sep 03, 2009 12:47 pm

Re: [solved] Encoding and upgrade to 1.6.4

Post by zoulou »

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.
Locked

Return to “[locked] Installation, Setup and Upgrade”