[CentOS] Changing the charset in Centos 4.3

Wed Aug 23 22:21:57 UTC 2006
Rodrigo Barbosa <rodrigob at darkover.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Aug 23, 2006 at 03:50:18PM -0500, Erick Perez wrote:
> Hi, My Centos 4.3 Server was installed with the english language only.
> The server hosts several files in spanish and the PHP code that themes
> the webpages uses the charset  "iso-8859-1".
> 
> If I do an "export" in my system it shows: LANG="en_US.UTF-8"
> 
> Does apache or the operating system needs to have the charset changed?
> Where?

You can change AddDefaultCharset on httpd.conf from:

AddDefaultCharset UTF-8

to

AddDefaultCharset ISO-8859-1

Or you can do that inside specific virtual hosts.

- -- 
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE7NUFpdyWzQ5b5ckRAh+xAJ4hFbxCWWMhbG/e+1soh5JFmvxYEwCeKM+d
5BgKWUnJJHvFsHlQy5DzELU=
=weGc
-----END PGP SIGNATURE-----