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

Tomás Cohen Arazi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Tomás Cohen Arazi <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to