diff --git a/reference/pgsql/functions/pg-set-client-encoding.xml b/reference/pgsql/functions/pg-set-client-encoding.xml index 8d9b42b808..eec43e3723 100644 --- a/reference/pgsql/functions/pg-set-client-encoding.xml +++ b/reference/pgsql/functions/pg-set-client-encoding.xml @@ -1,5 +1,5 @@ - + @@ -95,7 +95,7 @@ if (!$conn) { // Set the client encoding to UNICODE. Data will be automatically // converted from the backend encoding to the frontend. -pg_set_client_encoding($conn, UNICODE); +pg_set_client_encoding($conn, "UNICODE"); $result = pg_query($conn, "SELECT author, email FROM authors"); if (!$result) {