From 02ece7f8642038fffd47d53e46a32efa14d636f5 Mon Sep 17 00:00:00 2001 From: tetragon Date: Sun, 29 Apr 2007 03:00:44 +0000 Subject: Set database connections to utf8 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1121 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/RESTXML/Handler.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'LedgerSMB/RESTXML') diff --git a/LedgerSMB/RESTXML/Handler.pm b/LedgerSMB/RESTXML/Handler.pm index 0939da7f..ab63ad2a 100644 --- a/LedgerSMB/RESTXML/Handler.pm +++ b/LedgerSMB/RESTXML/Handler.pm @@ -124,6 +124,7 @@ sub connect_db { my $dbh = DBI->connect( $myconfig->{dbconnect}, $myconfig->{dbuser}, $myconfig->{dbpasswd} ) or carp "Error connecting to the db :$DBI::errstr"; + $dbh->{pg_enable_utf8} = 1; return $dbh; } -- cgit v1.2.3