summaryrefslogtreecommitdiff
path: root/admin.cgi
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2012-09-05 18:45:13 +0000
committerDimitri Sokolyuk <demon@dim13.org>2012-09-05 18:45:13 +0000
commite24ee07d2bed5982c07b91d3586ea54158a418b7 (patch)
tree14ca3914c4ff12eb6a782aedc85f261bb8cd9906 /admin.cgi
parentd1e4715af64a1c38e6fbf3333ca01c3cbdc393c5 (diff)
html5 theme
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 );