Tuesday, December 18, 2007

Apache's AddDefaultCharset

Simple problem this morning, we switched servers for one of our Perl applications, and upon running it, we noticed that all accented characters were displayed as weird characters.

The page was coded as ISO-8859-1...

The problem was Apache's AddDefaultCharset which was set to UTF-8. I don't know if the httpd.conf had this setting originally, or if it's our admin that changed it, but sure enough putting it back to ISO-8859-1 fixed our problem.

I know, we'd be better off with UTF-8, but hey, as long as it works...

Humbly...

No comments:

Post a Comment