From 973fa319d36053111de343bcfa63adc7d3daae24 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 5 Apr 2017 22:29:59 +0200 Subject: Fix charset in header. --- index.cgi | 2 ++ 1 file changed, 2 insertions(+) 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,
,,g; s,
\s*(?=
),,s; print $_; -- cgit v1.2.3