Hello all.
1. i all files php and templates files convert encoding to utf-8.(with pspad)
2. added new lines to db_mysql.php:
this line above return $this->connection;
to this code:
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION = 'utf8_turkish_ci'");
and this line after function query($query = "") {
unset($this->query_id);
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION = 'utf8_turkish_ci'");
3. meta charset iso-8859.... to utf-8 in language charset.
4. added this line to page_header.php
header ("Content-type: text/html; charset=UTF-8");
5. all db table convert to utf-8 collation utf8_turkish_ci
Ok no problem. all site text displaying true.. new data added ok displaying true encoding.
But how to i can make extra fix or code?
i checked my site from
http://www.w3.org/2003/12/semantic-extractor.htmlcharacter displaying wrong. example:
Fotoğraf - 1176
but other website (original utf8) no problem.
sorry my english not enought.
if you reply me messages i will be happy. thanks.