When trying to import a record from a Greek repository (eg. https://dspace.lib.uom.gr/handle/2159/323), although the record seems to be imported OK, in all text fields, the characters are not display correctly (nor in the database). Once the following patch was applied (proposed by Timothy Miles-Board in the EP-tech list), the content was imported correctly in the database.
Proposed patch:
--- a/perl_lib/EPrints/Plugin/Import/DSpace.pm
+++ b/perl_lib/EPrints/Plugin/Import/DSpace.pm
@@ -235,7 +235,7 @@ sub retrieve_dcq
return undef;
}
- my $dc = $self->find_dc_pairs( $r->content );
+ my $dc = $self->find_dc_pairs( $r->decoded_content );
return undef unless defined $dc;
$self->{errurl} = $self->{errmsg} = undef;
The text was updated successfully, but these errors were encountered:
When trying to import a record from a Greek repository (eg. https://dspace.lib.uom.gr/handle/2159/323), although the record seems to be imported OK, in all text fields, the characters are not display correctly (nor in the database). Once the following patch was applied (proposed by Timothy Miles-Board in the EP-tech list), the content was imported correctly in the database.
Proposed patch:
--- a/perl_lib/EPrints/Plugin/Import/DSpace.pm +++ b/perl_lib/EPrints/Plugin/Import/DSpace.pm @@ -235,7 +235,7 @@ sub retrieve_dcq return undef; } - my $dc = $self->find_dc_pairs( $r->content ); + my $dc = $self->find_dc_pairs( $r->decoded_content ); return undef unless defined $dc; $self->{errurl} = $self->{errmsg} = undef;The text was updated successfully, but these errors were encountered: