update : 2015.11.03
php.shukuma.com검색:
|
pg_set_client_encoding(PHP 4 >= 4.0.3, PHP 5) pg_set_client_encoding — Set the client encoding 설명
int pg_set_client_encoding
([ resource
$connection
], string $encoding
)pg_set_client_encoding() sets the client encoding and returns 0 if success or -1 if error. PostgreSQL will automatically convert data in the backend database encoding into the frontend encoding.
인수
반환값Returns 0 on success or -1 on error. 예제
Example #1 pg_set_client_encoding() example
<?php |