Changeset 481


Ignore:
Timestamp:
Dec 21, 2008, 5:12:55 PM (13 years ago)
Author:
Dominic Hargreaves
Message:

Configure charset correctly when passing in an existing $dbh (fixes #24)

Location:
wiki-toolkit/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/Changes

    r479 r481  
    1010        t/400_upgrade.t: skip all tests correctly if no backends
    1111        configured (#44)
     12        Configure charset correctly when passing in an existing $dbh (#24)
    1213
    13140.76    13 July 2008
  • wiki-toolkit/trunk/lib/Wiki/Toolkit/Store/Database.pm

    r477 r481  
    9696        $self->{_dbh} = $args{dbh};
    9797        $self->{_external_dbh} = 1; # don't disconnect at DESTROY time
     98        $self->{_charset} = $args{charset} || "iso-8859-1";
    9899    } else {
    99100        die "Must supply a dbname" unless defined $args{dbname};
Note: See TracChangeset for help on using the changeset viewer.