[Koha-bugs] [Bug 21848] Handle encoding when calling Text::Unaccent::unac_string

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 13 08:51:03 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21848

--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #5)
> Marcel, do you understand why we do not get the warning from Patrons.t?

Since we do not use special chars in the names there.
Which we did in Circulation.t. At least I see:

    my %expired_borrower_data = (
        firstname =>  'Ça',
        surname => 'Glisse',
        categorycode => $patron_category->{categorycode},
        branchcode => $branch,
        dateexpiry => dt_from_string->subtract( months => 1 ),
    );
[…]
Koha::Patron->new(\%expired_borrower_data)->store->borrowernumber;


Yeah, renaming Ça is enough to get rid of the warn.

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


More information about the Koha-bugs mailing list