Revision: 2000
http://mrbs.svn.sourceforge.net/mrbs/?rev=2000&view=rev
Author: cimorrison
Date: 2011-09-23 11:13:39 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------
Set PostgreSQL client encoding to UTF8. Thanks to Andreas Lange for the patch
(SF ID 3413080)
Modified Paths:
--------------
mrbs/trunk/web/pgsql.inc
Modified: mrbs/trunk/web/pgsql.inc
===================================================================
--- mrbs/trunk/web/pgsql.inc 2011-09-23 10:51:51 UTC (rev 1999)
+++ mrbs/trunk/web/pgsql.inc 2011-09-23 11:13:39 UTC (rev 2000)
@@ -490,7 +490,9 @@
echo "\n<p>\n" . get_vocab("failed_connect_db") . "\n</p>\n";
exit;
}
-
+
+ pg_set_client_encoding($db_conn, 'UTF8');
+
return $db_conn;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits