[Koha-bugs] [Bug 8798] Add the use of DBIx::Class

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 27 01:24:07 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8798

--- Comment #86 from Galen Charlton <gmcharlt at gmail.com> ---
I'm not seeing UTF8-releated breakage -- try running this program after
applying the squashed patch.  The output (not counting a DBIx::Class::Carp
about the nullability of borrowers.cardnumber that should be addressed at some
point) is correct:

Institut Protestant de Théologie

#!/usr/bin/perl                                                                 

use Modern::Perl;
use Koha::Database;

my $database = Koha::Database->new();
my $schema = $database->schema();

my @branches = $schema->resultset('Branch')->search({ branchcode =>
'IPT'})->all();

binmode(STDOUT, ':encoding(UTF-8)');
print $branches[0]->branchname();
print "\n";

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list