Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL


(PECL CUBRID >= 8.3.0)

cubrid_get_charsetReturn the current CUBRID connection charset


string cubrid_get_charset ( resource $conn_identifier )

This function returns the current CUBRID connection charset and is similar to the CUBRID MySQL compatible function cubrid_client_encoding().

Elenco dei parametri


The CUBRID connection.

Valori restituiti

A string that represents the CUBRID connection charset; on success.

FALSE on failure.


Example #1 cubrid_get_charset() example


if (!
'Could not connect.');

printf("CUBRID current charset: %s\n"cubrid_get_charset($con));


Il precedente esempio visualizzerĂ :

CUBRID current charset: iso8859-1

Vedere anche:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top