|
pg_client_encodingGets the client encoding Description
string pg_client_encoding
([ resource
$connection
] )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 Values
The client encoding, or Examples
Example #1 pg_client_encoding example
<?php The above example will output: Client encoding is: ISO-8859-1 See Also
|