[Koha-bugs] [Bug 16199] New: C4::Ris::charconv is one of the less useful subroutines ever written

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 5 08:49:41 CEST 2016


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

            Bug ID: 16199
           Summary: C4::Ris::charconv is one of the less useful
                    subroutines ever written
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

I let you admire it:

sub charconv {
    if ($utf) {
       ## return unaltered if already utf-8
       return @_;
    }
    elsif (my $uniout eq "t") {
       ## convert to utf-8
       return marc8_to_utf8("@_");
    }
    else {
       ## return unaltered if no utf-8 requested
       return @_;
    }
}

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


More information about the Koha-bugs mailing list