You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jan Johansson <j2...@mupp.net> on 2006/10/01 10:21:21 UTC
[users@httpd] Problems with encoding(?)
Hello!
I have been running my old web server (with apache 1.3.x) for years, but
now it is time to build a new box.
But, I ran into a problem:
I tried moving my wifes page over, and I get encoding problems. Below is
a copy of the header.
<head>
<meta http-equiv="Content-Language" content="sv"> <meta
http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Min Sida</title> </head>
But, when I serve this page with my old web server, It works. With the
new it does not.
I used a tool I found (
http://www.thinkhost.com/services/generators/headers-check.shtml ) to
see what happened.
Old server:
HTTP/1.1 200 OK Date: Sun, 01 Oct 2006 07:32:03 GMT Server:
Apache/1.3.34 (Debian) PHP/4.4.0-4 mod_fastcgi/2.2.10 mod_ssl/2.8.25
OpenSSL/0.9.8a mod_perl/1.29 Last-Modified: Sat, 25 Mar 2006 05:53:29
GMT ETag: "8b8e-ef8-4424dad9" Accept-Ranges: bytes
Content-Length: 3832 Connection: close Content-Type: text/html;
charset=iso-8859-1
New Server:
HTTP/1.0 200 OK Date: Sun, 01 Oct 2006 08:00:33 GMT Server:
Apache/2.0.55 (Debian) PHP/5.1.6-1 mod_ssl/2.0.55 OpenSSL/0.9.8c
Last-Modified: Sat, 30 Sep 2006 22:14:20 GMT ETag:
"57aac-ef8-41eb318268700" Accept-Ranges: bytes Content-Length:
3832 Connection: close Content-Type: text/html; charset=UTF-8
Now, I suppose I could use AddDefaultCharset, but that would most likely
break a lot of other pages.
How can I make sense out of this?
---------------------------------------------------------------------
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
Re: [users@httpd] Problems with encoding(?)
Posted by Joshua Slive <jo...@slive.ca>.
On 10/1/06, Jan Johansson <j2...@mupp.net> wrote:
> Now, I suppose I could use AddDefaultCharset, but that would most likely
> break a lot of other pages.
Check what AddDefaultCharset is already set to on each server. I bet
you can "fix" the problem by commenting it out on the server sending
UTF-8.
Joshua.
---------------------------------------------------------------------
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