[rt-users] Source code display for html attachment

jet jet jettejpopi at yahoo.fr
Thu Feb 11 14:15:35 EST 2010


Here is the error i found in httpd logs:

[Thu Feb 11 18:17:51 2010] [error]: Encoding error: UTF-16:Unrecognised BOM 3c at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/Encode.pm line 182.

Stack:
  [/usr/lib/perl5/5.10.0/i386-linux-thread-multi/Encode.pm:182]
  [/usr/lib/perl5/vendor_perl/5.10.0/RT/I18N.pm:235]
  [/usr/lib/perl5/vendor_perl/5.10.0/RT/I18N.pm:153]
  [/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Web.pm:836]
  [/usr/share/rt3/html/Ticket/Update.html:217]
  [/usr/share/rt3/html/autohandler:311]
 defaulting to ISO-8859-1 -> UTF-8 (/usr/lib/perl5/vendor_perl/5.10.0/RT/I18N.pm:239)

Regards
William

Date: Thu, 11 Feb 2010 15:28:52 +0000 (GMT)
From: jet jet <jettejpopi at yahoo.fr>
Subject: [rt-users] Source code display for html attachment
To: "rt-users at lists.bestpractical.com"
    <rt-users at lists.bestpractical.com>
Message-ID: <512692.64331.qm at web28605.mail.ukl.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Helle,
Thank you for your suggestion, but i already test it and it didn't work.
I tried this in vain:

-- update EmailInputEncodings

utf-8, iso-8859-1, us-ascii
 to EmailInputEncodings iso-8859-1, utf-8, us-ascii

-- SET TrustHTMLAttachments to true
-- comment adddefaultcharset UTF-8 on httpd.conf

here is my file RT_SiteConfig.pm

On Tue, Feb 09, 2010 at 09:31:50AM +0000, jet jet wrote:
>    Hello,
>    We have got RT(3.8.1 and 3.8.2) on linux machine(centos).
>    When we send a html attachement with a ticket, it is display as text (the source code) in it.
> 
>    To resolve that we have to record the html file with UTF-8 encodage selected. This is not
>    always possible, and it makes longer the ticket resolution process.

Sounds like you missed TrustHTMLAttachments and other config options.

Regars
William

-kevin



On Tue, Feb 09, 2010 at 09:31:50AM +0000, jet jet wrote:
>    Hello,
>    We have got RT(3.8.1 and 3.8.2) on linux machine(centos).
>    When we send a html attachement with a ticket, it is display as text (the source code) in it.
> 
>    To resolve that we have to record the html file with UTF-8 encodage selected. This is not
>    always possible, and it makes longer the ticket resolution process.

Sounds like you missed TrustHTMLAttachments and other config options.

-kevin


De: jet jet <jettejpopi at yahoo.fr>
Objet: Source code display for html attachment
?: "rt-users at lists.bestpractical.com" <rt-users at lists.bestpractical.com>
Date: Mardi 9 F?vrier 2010, 10h31

Hello,
We have got RT(3.8.1 and 3.8.2) on linux 
machine(centos). 
When we?send a html?attachement?with a ticket, it 
is display as text (the source code) in it.


To resolve that we have to record the html file 
with UTF-8 encodage selected. This is not always possible, and it makes longer the ticket resolution process.
?
Thank you for your help


William






      





      


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/rt-users/attachments/20100211/95d17843/attachment.html 

------------------------------

_______________________________________________
RT-Users mailing list
RT-Users at lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users


End of RT-Users Digest, Vol 71, Issue 28
****************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100211/8e76c7a0/attachment.htm>


More information about the rt-users mailing list