From fd1a950d2fc26ec83b7f32facae14e4f37021a76 Mon Sep 17 00:00:00 2001 From: christopherm Date: Wed, 15 Nov 2006 05:35:21 +0000 Subject: removing choice for db encoding... utf-8 all the way baby!! git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@617 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/User.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm index 5e06a2e0..e28af072 100755 --- a/LedgerSMB/User.pm +++ b/LedgerSMB/User.pm @@ -369,11 +369,8 @@ sub dbsources { sub dbcreate { my ($self, $form) = @_; - my %dbcreate = ( 'Pg' => qq|CREATE DATABASE "$form->{db}"| ); + my %dbcreate = ( 'Pg' => qq|CREATE DATABASE "$form->{db}" WITH ENCODING = 'UNICODE'| ); - $dbcreate{Pg} .= " WITH ENCODING = '$form->{encoding}'" - if $form->{encoding}; - $form->{sid} = $form->{dbdefault}; &dbconnect_vars($form, $form->{dbdefault}); # The below line connects to Template1 or another template file in order -- cgit v1.2.3