From: Eugene Crosser Date: Mon, 13 Jul 2009 04:32:29 +0000 (+0000) Subject: allow utf8 titles X-Git-Tag: 2.01~2 X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=commitdiff_plain;h=021ed91b999f33597bb5c95d76d0e88078c72c24 allow utf8 titles --- diff --git a/mkgallery.pl b/mkgallery.pl index bd20c8c..0d649c0 100755 --- a/mkgallery.pl +++ b/mkgallery.pl @@ -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);