| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Sql
Sql.pgsql

# Method Sql.pgsql()->set_charset()

Method set_charset

  `void set_charset(string charset)`

Description

  Changes the connection charset. When set to UTF8 , the query, parameters and results can be Pike-native wide strings.

Parameter `charset`

  A PostgreSQL charset name.

See also

  get_charset() , create() , http://www.postgresql.org/search/?u=%2Fdocs%2Fcurrent%2F&q=character+sets