Package: bugs.debian.org
Severity: normal

When you view individual parts of an email which are of type
"text/plain" the charset specified in that part's "Content-Type" MIME
header is ignored and "iso-8859-1" is always returned in the HTTP
response's "Content-Type" header:

  HTTP/1.0 200 OK
  Date: Tue, 25 Oct 2005 23:57:30 GMT
  Server: Apache/1.3.33 (Debian GNU/Linux)
  Content-Type: text/plain; charset=iso-8859-1

For an example see the following URL:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=308196;msg=5;att=0

The original email specifies that that part is actually using "UTF-8"
as the charset, which you can see in the mbox version of the message:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=308196;msg=5;mbox=yes

I imagine what's happening is that the charset specified in the email
is simply ignored by the CGI script and Apache is adding a default
charset due to the "AddDefaultCharset on" directive in the config
file.

Please could you fix the CGI script to pass on whatever charset the
email specifies for parts of type "text/*" when viewing them on their
own?

Cheers,
Mark.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to