Ben Pfountz writes:

I am having the same problem from IE.  Mozilla works fine.  I followed the
same instructions and added a wrapper, and from IE it looks like my charset
is not right:

Content-Language: en-us
Vary: Accept-Language
Content-Type: text/html; charset="Pô¿¿¹(˜(û]
`ô¿¿ô¸(>]
?]
$i
 ô¿¿*f("
...

but from mozilla I get a much more normal looking response:


Content-Language: en-us Vary: Accept-Language Content-Type: text/html; charset="utf-8" ...


Any suggestions?

I take back my last message. The correct fix is the following patch:



Attachment: pgp00000.pgp
Description: PGP signature

Index: http11/contentlanguage.c
===================================================================
RCS file: /cvsroot/courier/libs/http11/contentlanguage.c,v
retrieving revision 1.13
diff -U3 -r1.13 contentlanguage.c
--- http11/contentlanguage.c    9 Jun 2003 13:29:09 -0000       1.13
+++ http11/contentlanguage.c    18 Jun 2003 05:15:22 -0000
@@ -280,7 +280,7 @@
                        }
        }
 
-       p=strtok(buf, ", \t\r\n");
+       p=strtok(buf2, ", \t\r\n");
        if (!p)
                p=RFC2045CHARSET;
        for (i=0; i<naccept; i++)

Attachment: pgp00001.pgp
Description: PGP signature

Reply via email to