PDA

View Full Version : coding


oTOMi
10-06-2005, 01:34 PM
Hi, problems r still here. They moved my web to other server with safe mod=off. But i cant get czech characters there. There is utf-8 set on the pages, even in the db and they told me to edit this "$set = @mysql_query ("SET NAMES utf8");" in
function start_mysql()
{
global $pixelpost_db_host, $pixelpost_db_user, $pixelpost_db_pass, $pixelpost_db_pixelpost;
mysql_connect($pixelpost_db_host, $pixelpost_db_user, $pixelpost_db_pass) || die("Error: ". mysql_error());
$set = @mysql_query ("SET NAMES utf8");
mysql_select_db($pixelpost_db_pixelpost) || die("Error: ". mysql_error());
}


but nothing changed, can somebody help me? pls?

Joe[y]
10-06-2005, 03:58 PM
is your browser also set to utf-8 or auto?

oTOMi
10-06-2005, 04:14 PM
i tried ie, firefox, i tried it at school, at home ... same
i did not have any problems before, only after moving

Joe[y]
10-06-2005, 04:42 PM
well as it is clearly the hosts problem then i think you should tell them that their solution did not work for you.

oTOMi
10-06-2005, 05:51 PM
i see, so i will tell them

Connie
10-06-2005, 07:03 PM
I have the same problem, after moving to another host with one domain, special characters are not ok, it must be something with the mysql-configuration

I found out that the mysql database was configured to finnish... very strange at a german hoster

and I am not mysql-specialist enough to understand why they do that
now I must study mysql-configuration...

oTOMi
10-07-2005, 05:13 PM
thanks 4 ur help