[Koha-bugs] [Bug 12638] UTF-8 support; C4::Members::AttributeTypes::GetAttributeTypes_hashref should be rewrite

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 24 16:16:21 CEST 2014


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

--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Given the following script:

test.pl
#!/usr/bin/perl
use Modern::Perl;
use Data::Dumper;
my $h = {id=>'λλλ', description=>'λλλ'};
warn Dumper $h;

1/ With perl v.5.10

a) perl test.pl
$VAR1 = { 
          'description' => 'λλλ',
          'id' => 'λλλ'
        };

b) cgi-bin/koha/test.pl displays in the Koha logs:
$VAR1 = {
          'id' => '\xce\xbb\xce\xbb\xce\xbb',
          'description' => '\xce\xbb\xce\xbb\xce\xbb'
};

2/ With perl v.5.18

a) perl test.pl
$VAR1 = { 
          'description' => 'λλλ',
          'id' => 'λλλ'
        };

b) cgi-bin/koha/test.pl displays in the Koha logs:
$VAR1 = { 
          'description' => 'λλλ',
          'id' => 'λλλ'
        };

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


More information about the Koha-bugs mailing list