Pages

Tuesday, December 4, 2007

httpd default charset

While migrating web server (apache2 ) from desktop server to blade server. was found a problem in my web pages. was not able to view charset other than default UTF-8. And got to know that we can make use of different charset my enabling AddDefaultCharset on in httpd.conf.here follows step to change to default charset UTF-8 to new charset.

leo@gnu # vi /etc/httpd/conf/httpd.conf

do as follows

#AddDefaultCharset UTF-8 ( comment out this line and add following line )
AddDefaultCharset on

No comments: