X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;fp=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;h=427b197002a5fff16c0dc299f85fde0e88003c95;hb=ea99634e69cd1345da3be64824c4d0ebd8635ead;hp=de27579a5a1a2f7cead908df5ec0d86863da515f;hpb=e85f5f172aa05e8fd509e2fad2ace9b2375719d2;p=gruntmaster-page.git diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index de27579..427b197 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -82,7 +82,7 @@ sub render_article { $lang //= 'en'; my $title = read_file "a/$art.$lang.title"; chomp $title; - my $meat = read_file "a/$art.$lang"; + my $meat = read_file "a/$art.$lang", binmode => ':utf8'; _render('skel', $lang, title => $title , meat => $meat, %args) }