v5:reference:connection:getcharset
This is an old revision of the document!
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 in case of failure.
See setCharSet().
Usage
echo $db->getCharset(); // utf8mb4
v5/reference/connection/getcharset.1615222815.txt.gz · Last modified: 2021/03/08 18:00 by dregad