[Koha-bugs] [Bug 28230] Renewing/Checking out record with Ä or Ö letter in title can make Koha totally unfunctional
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 26 18:59:03 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28230
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tomascohen at gmail.com
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
This works:
use utf8;
use Encode qw(encode encode_utf8);
use Data::Dumper;
use YAML::XS;
binmode STDOUT, ':encoding(UTF-8)';
my $string = YAML::XS::Load(encode('UTF-8',"---\r\n hello: 'heÄllo'"));
print STDOUT Dumper($string);
$string = YAML::XS::Load(encode_utf8("---\r\n hello: 'heÄllo'"));
print STDOUT Dumper($string);
1;
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list