|
pg_client_encodingGets the client encoding Description
string pg_client_encoding(PgSql\Connectionnull
$connection = null )PostgreSQL supports automatic character set conversion between server and client for certain character sets. pg_client_encoding returns the client encoding as a string. The returned string will be one of the standard PostgreSQL encoding identifiers.
Parameters
Return ValuesThe client encoding. Changelog
Examples
Example #1 pg_client_encoding example
The above example will output: Client encoding is: ISO-8859-1 See Also
|