@@ -, +, @@ emoji characters for instance). Verify that there is no visible encoding issues. Tools ยป Stage MARC records for import. Verify that the new record has no visible encoding issues --- Koha/App/Plugin/CGIBinKoha.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/App/Plugin/CGIBinKoha.pm +++ a/Koha/App/Plugin/CGIBinKoha.pm @@ -24,7 +24,6 @@ use Mojo::Base 'Mojolicious::Plugin'; use CGI; use CGI::Compile; use CGI::Emulate::PSGI; -use IO::Scalar; sub register { my ($self, $app, $conf) = @_; @@ -80,9 +79,10 @@ sub _psgi_env { my $env = $c->req->env; my $body = $c->req->build_body; + open my $input, '<', \$body or die "Can't open in-memory scalar: $!"; $env = { %$env, - 'psgi.input' => IO::Scalar->new(\$body), + 'psgi.input' => $input, 'psgi.errors' => *STDERR, REQUEST_METHOD => $c->req->method, QUERY_STRING => $c->req->url->query->to_string, --