$link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); $charset = mysql_client_encoding($link); echo "The current character set is: $charset\n";Pour le faire :
mysql_query("SET CHARACTER SET 'utf8'", $link);
$charset = $mysqli->character_set_name();
if (!$mysqli->set_charset("utf8")) { printf("Error loading character set utf8: %s\n", $mysqli->error); } else { printf("Current character set: %s\n", $mysqli->character_set_name()); } Si le pb n'est pas là... A+ A+
mysql_query("SET CHARACTER SET 'utf8'", $link);
$mysqli->set_charset("utf8")
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question