httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jagbir Singh <jagbir.si...@itlindia.com>
Subject [users@httpd] How to change default Charset?
Date Mon, 19 May 2008 09:44:27 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi,</font><br>
<font face="Helvetica, Arial, sans-serif">I'm on CentOS 5 and like to
change default charset of 'ISO-8859-1' to </font><font
 face="Helvetica, Arial, sans-serif">'UTF-8' Apache 2.2, so I updated
httpd.conf to have this line:</font><br>
<font face="Helvetica, Arial, sans-serif">AddDefaultCharset UTF-8</font><br>
<font face="Helvetica, Arial, sans-serif">Restarted Apache and open
default page in Firefox, which reports UTF-8 </font><font
 face="Helvetica, Arial, sans-serif">as expected but running any perl
scripts and then checking reports </font><font
 face="Helvetica, Arial, sans-serif">ISO-8859-1. Is there any other
settings needs to be changed to force all </font><font
 face="Helvetica, Arial, sans-serif">contents have charset UTF-8?</font><br>
<br>
--<br>
<font face="Helvetica, Arial, sans-serif">Jagbir</font><br>
</body>
</html>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message