Commit Diff


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 "<div class='thread'><ul>";
 }