Re: PHP5 - MySQL 4 charset problem
Try executing this code after establishing connection with mysql server:
mysql_query("SET NAMES 'ISO-8859-7'");
mysql_query("SET CHARACTER SET 'ISO-8859-7'");
This sgould help. I had similar problems with utf8 and php 5 (php 4 workes fine), and these two lines solved the problem.
Of course you should use functions from mysqli.
Subject
Written By
Posted
Re: PHP5 - MySQL 4 charset problem
October 24, 2005 02:23PM
December 01, 2005 11:29AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.