Not defaulting to send Latin-1 characters, but to send instructions to the browser as to what character set the output should be interpreted as. The output is the same either way.
Check with your host for this install that your database, table, and columns all have unicode collation. And of course, the entries in question will all have to have been entered into the CP with UTF-8 selected as your character set in your preferences, and the database collations would need to match at that time as well. If any setting was incorrect or switched at any point along the way, then manual data conversion would be necessary.
And some info on MySQL’s sort and order behavior: http://dev.mysql.com/doc/refman/4.1/en/charset-configuration.html
Okay,
Lets be temporarily clear (because there’s no point going back through all the posts) that I have the same issue on both EngineHosting and my Dedicated Server.
DS = http://www.immocherche.com/i/index2/
EH = http://www.stockting.com/content/index2/
On both servers the table collation is utf8-general-ci and the column collation is utf8-general-ci
Both EE installations are running Default charset = UTF8
For the DS we have the following;
character set client utf8
(Global value) latin1
character set connection utf8
(Global value) latin1
character set database latin1
character set results utf8
(Global value) latin1
character set server latin1
character set system utf8
character sets dir /usr/share/mysql/charsets/
collation connection utf8_unicode_ci
(Global value) latin1_swedish_ci
collation database latin1_swedish_ci
collation server latin1_swedish_ci
For the EH we have the following;
character set client utf8
character set connection utf8
character set database utf8
character set results utf8
character set server utf8
character set system utf8
character sets dir /usr/share/mysql/charsets/
collation connection utf8_unicode_ci
(Global value) utf8_general_ci
collation database utf8_general_ci
collation server utf8_general_ci
But I re-iterate, both servers were running EE in utf8-mode because the server we had at the beginning (running latin_swedish_ci) was dropped, along with 500 hours of labour, to ensure that we were in our simple way providing factually supportive information to you (we tried converting the data but then we couldn’t add templates, or upload directories. It was just a mess [I cried that day].
To conclude. On EH servers we are 101% UTF8 and we have the same order-order issue as on the DS and I’ve given up trying to get DS Support to change it[*]
jiF
[*] They say removing the Latin1 foundation destabilises some older scripts and come to think of it we cancelled three EH hosting accounts last year because they couldn’t run our scripts in their utf8 environment so, as a CPA, who and I to tell them what to do?