commit b031debf35af538a6bd7d352717aa2ec69e83dd9 from: Omar Polo date: Wed Mar 29 17:16:21 2023 UTC set binmode utf8 for the page file handler avoids the "Wide character in print at ./mkindex line 152, <> line 2751" warnings. commit - 257d7c99293530caf1a1946dc1c649ce5b6f2966 commit + b031debf35af538a6bd7d352717aa2ec69e83dd9 blob - c059ce5eb02d2aef78682f236e2fe94e06e4be1b blob + e52ae37dbcfeb93da16bc0ca78e21f0535985c9a --- mkindex +++ mkindex @@ -67,6 +67,7 @@ sub nextfile { my $path; ($pfh, $path) = tempfile "/tmp/gotmarc.index.XXXXXXXXXX"; + binmode($pfh, ':utf8'); push @files, $path; say $pfh "