On Thu 19.Feb'09 at 13:48:48 -0500, Todd Chapman wrote:
>      Well, what does the database say for content-type? Is the content in the
>      database 'right'?
> 
>    Sorry. And thanks again for all the help!
> 
>    mysql> select Subject, Filename, ContentType, ContentEncoding, Headers
>    from Attachments where id=10792\G
>    X-Mailer: MIME-tools 5.426 (Entity 5.426)
>    Content-Type: text/html;
>     charset="utf-8";
>    Content-Transfer-Encoding: binary
>    X-RT-Original-Encoding: utf-8
>    Content-Length: 73017

This really does look like our content-type sniffing for HTML probably
wants to look inside the content for an encoding. But there's a chicken
and egg problem there.

I think you probably want to see if Encode::Guess does the right thing
with your utf-16 html. If so, then it might be a problem in how RT uses
it.

I look forward to further triage.

-j

Attachment: pgpeuO7yj7jgC.pgp
Description: PGP signature

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to