DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23264>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23264 charset settings via meta tag are not transmitted correct in apache 2.0.x Summary: charset settings via meta tag are not transmitted correct in apache 2.0.x Product: Apache httpd-2.0 Version: 2.0.47 Platform: PC OS/Version: Linux Status: NEW Severity: Blocker Priority: Other Component: All AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I used the following Apache 2 versions: 2.0.40-21 from RedHat 9, 2.0.40-11.5 from RedHat 8.0, 2.0.47-6 from Rawhide on a RedHat 9, 2.0.47 on a Gentoo 1.4. They all create the same problem. I used the following HTML file [Shift JIS with Japanese Text in Shift JIS] --- HTML <html> <head> <title>TEST</title> <meta http-equiv="Content-Type" content="text/html; charset=SHIFT_JIS"> </head> <body> これはシフトJISです </body> </html> --- HTML When this page (as HTML or PHP if PHP is compiled in) is viewed via an Apache 2, it does not set the Shift JIS Codepage, but uses the default Western 8859-1 Encoding and produces Mojibake. With an Apache 1.3.28 compiled and installed on the same boxes they all could create the correct header and switched to Shift JIS. Output from lynx -mime_header http://localhost/test.html (apache 2.0.47 on Gentoo 1.4): HTTP/1.1 200 OK Date: Fri, 19 Sep 2003 03:37:12 GMT Server: Apache/2.0.47 (Gentoo/Linux) mod_ssl/2.0.47 OpenSSL/0.9.6j DAV/2 PHP/4.3.2 Last-Modified: Fri, 19 Sep 2003 03:05:26 GMT ETag: "3482057-9e-1090980" Accept-Ranges: bytes Content-Length: 158 Connection: close Content-Type: text/html; charset=ISO-8859-1 <html> <head> <title>TEST</title> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> </head> <body> ±êÍVtgJISÅ· </body> </html> same output with lynx from Apache 1.3.28 on Gentoo 1.4: HTTP/1.1 200 OK Date: Fri, 19 Sep 2003 03:38:18 GMT Server: Apache/1.3.28 (Unix) Last-Modified: Fri, 19 Sep 2003 03:38:05 GMT ETag: "341160a-9e-3f6a7a1d" Accept-Ranges: bytes Content-Length: 158 Connection: close Content-Type: text/html <html> <head> <title>TEST</title> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> </head> <body> ±êÍVtgJISÅ· </body> </html> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
