X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=search.cgi;fp=search.cgi;h=2174d52d5c64571d770a627f8d53d00d9b5a99d5;hb=e8250d78d091445fbd422fed5d3ae9ab2516eada;hp=3151399fb1e19ed4afb1d35fc28951b1e4674175;hpb=2b3d1497419d64cac46d90e9e386f23e53ac2752;p=mirror%2Fuserdir-ldap-cgi.git diff --git a/search.cgi b/search.cgi index 3151399..2174d52 100755 --- a/search.cgi +++ b/search.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -# $Id: search.cgi,v 1.12 2004/12/04 18:48:07 joey Exp $ +# $Id: search.cgi,v 1.13 2006/06/27 04:37:45 rmurray Exp $ # (c) 1999 Randolph Chung. Licensed under the GPL. # (c) 2004 Martin Schulze. Licensed under the GPL. @@ -33,7 +33,7 @@ $SIG{__DIE__} = \&DieHandler; if (!$dosearch) { # No action yet, send back the search form... - print "Content-type: text/html\n\n"; + print "Content-type: text/html; charset=utf-8\n\n"; open (F, "<$config{websearchhtml}") || &Util::HTMLError($!); while () { s/~id~/$id/g;