summaryrefslogtreecommitdiff
path: root/LedgerSMB.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-29 03:00:44 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-29 03:00:44 +0000
commit02ece7f8642038fffd47d53e46a32efa14d636f5 (patch)
treed95ad45c8607b1aa8aacce8163086f27ce1666cd /LedgerSMB.pm
parent0b640c457af0db54ee79857ff15d81055280a5b8 (diff)
Set database connections to utf8
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1121 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB.pm')
-rwxr-xr-xLedgerSMB.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm
index 5727edbe..073a73ab 100755
--- a/LedgerSMB.pm
+++ b/LedgerSMB.pm
@@ -490,6 +490,7 @@ sub db_init {
) or $self->dberror;
$dbh->{pg_server_prepare} = 0;
+ $dbh->{pg_enable_utf8} = 1;
if ( $myconfig->{dboptions} ) {
$dbh->do( $myconfig->{dboptions} );