As I understand it, the server outputs the charset as per the server config. so if you need to display it differently, you need to place this line in your html head section.
when you run your page through the validator, if the line of code sets a charset different from that of the server, it’ll tell you. (well, it tells me for my pages).
But tell me; how is this a mysql question? you should have posted this in the php forum
bazz
What is character_set_client?
Does the php function mysql_client_encoding() refers at that one?
Why on my browser window I obtain latin1 even if with this sql statement I obtain character_set_client=utf-8?
But the question is why I have to specify the charset for every connection even if during the creation of my database I have already declared utf-8 charset? It seems a bit redundant… Does someone has an answer? thanks.