]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Set html charset to default to UTF-8
authorwbudic <redacted>
Fri, 21 Sep 2018 11:22:55 +0000 (21:22 +1000)
committerwbudic <redacted>
Fri, 21 Sep 2018 11:22:55 +0000 (21:22 +1000)
htdocs/cgi-bin/main.cgi

index 0f5a33a8f6c0d8c2378def03529e59b322800235..df6dc7b11ee725a380fcf93440ea6ffeca06e6a3 100755 (executable)
@@ -21,7 +21,7 @@ my $dbh = DBI->connect($dsn, $userid, $password, { RaiseError => 1 })
 
 
 
-print $q->header(-expires=>"+6os");    
+print $q->header(-expires=>"+6os", -charset=>"UTF-8");    
 
 print $q->start_html(-title => "Personal Log", 
                             -script=>{-type => 'text/javascript', -src => 'wsrc/main.js'},