MysqlndUhConnection::setCharset Sets the default client character set &reftitle.description; public boolMysqlndUhConnection::setCharset mysqlnd_connectionconnection stringcharset Sets the default client character set. &reftitle.parameters; connection Mysqlnd connection handle. Do not modify! charset The charset to be set as default. &reftitle.returnvalues; Returns &true; on success. Otherwise, returns &false; &reftitle.examples; <function>MysqlndUhConnection::setCharset</function> example set_charset("latin1"); ?> ]]> &example.outputs; NULL, 1 => 'latin1', )) proxy::setCharset returns true ]]> &reftitle.seealso; mysqlnd_uh_set_connection_proxy mysqli_set_charset