Hi
I have some problems with this, maybe someone can help?
I am still using ZC 1.3.8
I followed the instructions from srw2d.com (which is now in a pdf file)
Since I already have a large databse with thousands of customers i had to convert it.
What i did was backup my database first (using the drop command - actually my version of phpmyadmin just calls it the DROP command and does NOT MENTION DROP TABLE/VIEW/PROCEDURE/FUNCTION
I then use textwrangler to find and replace where it said latin1 and changed it to utf8 (exactly like that find"latin1" replace "utf8") what it said before was CHARSET=latin1 and it now says CHARSET=utf8
There were 99 replacements made which is the same number as there are tables in the database.. so it looks right
Then what i did was make a new database on the same server.. go to phpyadmin and change it to utf8 then drop my old (modified) database tables on top (i kept the old database incase i had to switch back)
I change both my admin configure and configure files with setting for new database
Then i made all the changes from srw2d.com and saved the modified files.
Site works.. i check in firefox in admin and main areas encoding is set to utf8 according to firefox
However in view source the HEADER says
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
So there is something wrong there?
I have searched the database iso-8859-1 does not appear anywhere.
I have searched the files using developers tool kit and found the following instances of it
/home/xxxx/public_html/nddbc.html
Line #4 : <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
/home/xxxx/public_html/includes/classes/class.phpmailer.php
Line #43 : var $CharSet = "iso-8859-1";
/home/xxxx/public_html/includes/functions/functions_email.php
Line #163 : $mail->CharSet = (defined('CHARSET')) ? CHARSET : "iso-8859-1";
/home/xxxx/public_html/includes/languages/pure_blue/english.php
Line #53 : define('CHARSET', 'iso-8859-1');
/home/xxxx/public_html/includes/templates/template_default/templates/tpl_zc_install_suggested_default.php
Line #19 : <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
What should i do? The character encoding shown in the header is not right?
At the moment i only have english characters on my website.
Thanks