Sets the connection's character set.
public set_charset ( resource $dbh, string $charset = null, string $collate = null ) | ||
$dbh | resource | The resource given by mysql_connect |
$charset | string | The character set (optional) |
$collate | string | The collation (optional) |