X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FView%2FBase.pm;h=51c2cb6dcbc3601d9567d4b725db06017c73ce4d;hb=0b605838079e58fd834c43fcf1776fb401b0751d;hp=668b2c4430fa4b061d0343cf237dfd203a45ae2f;hpb=63830bac51f24c669f09544b97ea14480eb53c14;p=maypole.git diff --git a/lib/Maypole/View/Base.pm b/lib/Maypole/View/Base.pm index 668b2c4..51c2cb6 100644 --- a/lib/Maypole/View/Base.pm +++ b/lib/Maypole/View/Base.pm @@ -60,6 +60,7 @@ sub process { my $status = $self->template($r); return $self->error($r) if $status != OK; $r->{content_type} ||= "text/html"; + $r->{document_encoding} ||= "utf-8"; return OK; }