How to set Charset to UTF-8 in Apache for scripts?
Hi,
I'm on CentOS 5 machine and thought changing default charset of 'ISO-8859-1' to 'UTF-8' is not a big deal in Apache 2.2, so I updated httpd.conf to have this line: Code:
AddDefaultCharset UTF-8 Code:
http://serverip/ Code:
http://serverip/cgi-bin/myscript.pl How can I force Apache to set UTF-8 for all contents it serve, including perl scripts? Kindly suggest, I'm out of ideas... Regards, |
All times are GMT -5. The time now is 08:40 AM. |