This is an automated email from the git hooks/post-receive script. js pushed a commit to annotated tag upstream/0.32 in repository libcatmandu-rdf-perl.
commit ddbdb125de5ff9cb9f79d4a8c5e238abdc1fcccf Author: Patrick Hochstenbach <[email protected]> Date: Sat Jul 29 10:55:25 2017 +0200 Fixing type --- lib/Catmandu/Importer/RDF.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Catmandu/Importer/RDF.pm b/lib/Catmandu/Importer/RDF.pm index 8959606..b71b06d 100644 --- a/lib/Catmandu/Importer/RDF.pm +++ b/lib/Catmandu/Importer/RDF.pm @@ -283,6 +283,8 @@ sub _aref_stream { # parent $pipe->reader(); + binmode($pipe,':encoding(UTF-8)'); + return sub { state $line = <$pipe>; @@ -297,13 +299,15 @@ sub _aref_stream { # child $pipe->writer(); + binmode($pipe,':encoding(UTF-8)'); + my $handler = sub { my $triple = shift; my $subject = $triple->subject->value; my $predicate = $triple->predicate->value; my $value = $triple->object->is_literal ? $triple->object->literal_value : $triple->object->uri_value; - my $type = $triple->object->type; + my $type = lc $triple->object->type; my $lang = $triple->object->is_literal ? $triple->object->literal_value_language : undef; my $datatype = $triple->object->is_literal ? $triple->object->literal_datatype : undef; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-rdf-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
