Jagbir Singh wrote:
Hi,
I'm on CentOS 5 and like to change default charset of 'ISO-8859-1'
to 'UTF-8' Apache 2.2, so I updated httpd.conf to have this line:
AddDefaultCharset UTF-8
Restarted Apache and open default page in Firefox, which reports
UTF-8 as expected but running any perl scripts and then checking
reports ISO-8859-1. Is there any other settings needs to be changed
to force all contents have charset UTF-8?
---------------- End original message. ---------------------
I believe that what you have done in Apache is all that you can do in Apache.
If I am not mistaken, Apache only adds a header to define the default
character set if one is NOT provided in the generated content. It is
entirely possible that your Perl code is sending a different header.
Dragon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]