getCharSet

Support for this command is limited to MySQL and Postgres databases.

Syntax
 string|false function getCharSet()
      

Description

The function getCharSet() retrieves the current client side character set, or false if it can't be determined.

See setCharSet().

Usage

echo $db->getCharset(); // utf8mb4