@@ -, +, @@ echo 'contents' > $(perl -e 'print "cine\x{cc}\x{81}ma"') 0xcc 0x81 is utf8 for "Combining acute accent" (́ ) https://unicode-table.com/fr/0301/ Once normalized it should be 0xc3 0xa9 (é) % ls cin* | xxd 00000000: 6369 6ec3 a96d 610a cin..ma. ^^ ^^ cataloguing plugin, and verify that the generated URL works correctly --- Koha/Uploader.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/Koha/Uploader.pm +++ a/Koha/Uploader.pm @@ -67,6 +67,7 @@ use CGI; # no utf8 flag, since it may interfere with binary uploads use Digest::MD5; use Encode; use Time::HiRes; +use Unicode::Normalize; use base qw(Class::Accessor); @@ -249,6 +250,7 @@ sub _create_file { sub _hook { my ( $self, $filename, $buffer, $bytes_read, $data ) = @_; $filename= Encode::decode_utf8( $filename ); # UTF8 chars in filename + $filename = NFC($filename); $self->_compute( $filename, $buffer ); my $fh = $self->_fh( $filename ) // $self->_create_file( $filename ); print $fh $buffer if $fh; --