allow utf8 titles
authorEugene Crosser <crosser@average.org>
Mon, 13 Jul 2009 04:32:29 +0000 (04:32 +0000)
committerEugene Crosser <crosser@average.org>
Mon, 13 Jul 2009 04:32:29 +0000 (04:32 +0000)
mkgallery.pl

index bd20c8ca02ee6a46da2b56d0aaf70e52facb4e2b..0d649c05f194872a85e745a37fb7b7ca4ce32578 100755 (executable)
@@ -446,6 +446,7 @@ sub edittitle {
        my $title;
        my $T;
        if (open($T,'<'.$fullpath.'/.title')) {
+               binmode($T, ":utf8");
                $title = <$T>;
                $title =~ s/[\r\n]*$//;
                close($T);