summaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.cgi b/index.cgi
index e437f22..05e3207 100755
--- a/index.cgi
+++ b/index.cgi
@@ -128,9 +128,11 @@ if ($form->submitted) {
));
}
+# fix charset in header
# strip div around checkbox field, to support contextually hiding next field
sub printhack {
$_ = shift;
+ s,charset=\Kiso\-8859\-1,utf-8,;
s,<div class="">,,g;
s,</div>\s*(?=<div class="eye color">),,s;
print $_;