cvs: phpdoc /en/reference/pgsql/functions pg-set-client-encoding.xml
| From: | Jakub Vrana | Date: | Fri, 07 Nov 2008 11:29:53 +0000 |
| Subject: | cvs: phpdoc /en/reference/pgsql/functions pg-set-client-encoding.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2435@lists.php.net to get a copy of this message | ||
vrana Fri Nov 7 11:29:53 2008 UTC
Modified files:
/phpdoc/en/reference/pgsql/functions pg-set-client-encoding.xml
Log:
Missing quotes (bug #44308)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-set-client-encoding.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/pgsql/functions/pg-set-client-encoding.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-set-client-encoding.xml:1.11
phpdoc/en/reference/pgsql/functions/pg-set-client-encoding.xml:1.12
--- phpdoc/en/reference/pgsql/functions/pg-set-client-encoding.xml:1.11 Wed Jun 20 22:25:14 2007
+++ phpdoc/en/reference/pgsql/functions/pg-set-client-encoding.xml Fri Nov 7 11:29:53 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.16 -->
<refentry xml:id="function.pg-set-client-encoding" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -95,7 +95,7 @@
// 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) {