4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Murat on September 03, 2008, 01:57:21 AM
-
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.html
character 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.
-
Maybe that site just doesn't show it properly?
-
V@no thanks for reply. But other "Turkish utf-8" sites showing true...
problem only my gallery. :(
-
This is weird...maybe you should ask it at that site why it shows like this?
-
V@no thanks you very much.
What new is planned for gallery script?
Any time for release? September, october?
if you released is new version please add: utf-8 support
-
function utf8_to_htmlentities, function uni_to_utf8, function clean_string, function clean_array what is this functions?