adapter

Well-Known Member
PartnerNOC
Sep 17, 2003
391
0
166
Hi

i have upgrade my server from mysql 4.0 to 4.1 but now a lot of site display a wrong text, all the letter with à è ù are as "ù " how can i fix this problem?

Thanks
 

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
Try adding

Code:
[mysqld]
init-connect=SET NAMES binary
to my.cnf

Then restart mysql.
 

adapter

Well-Known Member
PartnerNOC
Sep 17, 2003
391
0
166
I have try with init-connect=SET NAMES utf8 but i still have the same error
 

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
UTF-8 won't work, because those characters are ISO. Did you try "binary"?
 

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
dyrer said:
which one my.cnf i have /etc/my.cnf and /user/local/cpanel/whostmgr

My joomla installation creates latin1_swedish_ci collation
/etc/my.cnf

latin1_swedish_ci collations are exactly why utf-8 won't work. Unless you want to convert your database to utf-8, which could be messy if there are special keys within the database.