Skip to main content.
home | support | download

Back to List Archive

Re: encoding settings -where are they set?

From: Thomas Nyman <thomas(at)not-real.teg.pp.se>
Date: Thu Nov 17 2005 - 06:18:42 GMT
Thanks .. dont know where i had my brain:

adding $q->header(-charset=>'UTF-8')  on line 19 of  
TemplateDefault.pm does the trick
and filenames display correctly..ofcourse everything else displays  
incorrectly.


16 nov 2005 kl. 16.41 skrev Peter Karman:

>
>
>> line 1    Content-Type: text/html; charset=ISO-8859-1
>
>> 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?
>>
>
> check the header() CGI function. That outputs the Content-type.  
> Read the
> perldoc for the CGI module for how to change it.
> -- 
> Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Wed Nov 16 22:18:54 2005