At 14:16 +0200 18/7/06, Mike van Hoof wrote:
And for the everything in utf8... will try this next time i get this kind of a problem...

When you do, you'll need to send out the proper header from your php scripts:
header ('Content-type: text/html; charset="UTF-8"');

and put this in your MySQL connect script after connecting to the db:
mysql_query ("set names 'utf8'");

or, better:
if (!mysql_query ("set names 'utf8'")) {
   // handle the error
}

I hope that helps!

--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/

Computers in the future may weigh no more than 1.5 tons.
   -- 'Popular Mechanics', 1949

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to