summaryrefslogtreecommitdiff
path: root/admin.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'admin.cgi')
-rwxr-xr-xadmin.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin.cgi b/admin.cgi
index 21de7c0..e8e92cb 100755
--- a/admin.cgi
+++ b/admin.cgi
@@ -43,6 +43,7 @@ my $blog_title = $Blogsum::Config::blog_title;
# main execution #
###########################
my $cgi = CGI->new;
+$cgi->charset('UTF-8');
my $dbh = DBI->connect("DBI:SQLite:dbname=$database", '', '', { RaiseError => 1 }) || die $DBI::errstr;
my $template = HTML::Template->new(filename => "themes/${blog_theme}/admin.tmpl", die_on_bad_params => 0);
$template->param( theme => $blog_theme );