Skip to main content.
home | support | download

Back to List Archive

encoding settings -where are they set?

From: Thomas Nyman <thomas(at)>
Date: Wed Nov 16 2005 - 15:49:26 GMT

i'm still working on the encoding issue..just wanted to make sure  
about something. The character encoding for the documents returned by  
swish.cgi is it set by the or is it set somewhere  
else? I would like to make sure the encoding for the returned  
document is utf-8 if possible and allthough i've set the encoding in to utf-8 it seems that the encoding is still  
iso-8859-1. If i run SWISH_DEBUG=headers,output ./swish.cgi i get the  
( i added line 1 etc)
line 1    Content-Type: text/html; charset=ISO-8859-1

line 2    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional// 
line 3    <html lang=sv>
line 4        <head>
line 5        <meta http-equiv="content-type" content="text/html;  

.. end snippet .....

so if i change in the Templetedfeault the meta charset is changed but  
it still starts off with the first line above i.e ISO-8859-1  .. so  
the question is where does line 1 come from?
Received on Wed Nov 16 07:49:28 2005