[rt-users] RT web interface displaying issues with special iso-8859-1 characters

Angel Blazquez angel.blazquez at es.easynet.net
Wed Apr 19 03:08:39 EDT 2006


Hello folks,

We are expecting web interface displaying issues with iso-8859-1 /
iso-8859-15 special characters like accents (á é í ó ú) and ñ.

Everything is stored properly (encoded in utf-8) in the database,
and sent correctly via e-mail, but is not shown properly in the web
interface.

In the Content-Type of the page the charset appears as utf-8, but even
when manually setting the encoding in the browser to utf-8 it does not
display the text properly. AddDefaultCharset UTF-8 is set in apache.

Having a look to the html source code of the page, the sample text ("Á")
appears decoded from utf-8. I mean, it appears as it should appear in
the rendered web:

<A HREF="/Ticket/Attachment/52208/27520/">Download(untitled)</a> 
<div class="downloadcontenttype">
text/plain 3b 
</div> 
</div>
<div class="messagebody">
<font color="#000000">
Á <br>     <===== sample text (comment)
</font>
</div>
</div>
</TD>
</TR>

But looking in RT sandboxes around the Web (RT installations with guest
access and that work properly) I see a different behaviour. The sample
text ("Á") appears encoded in utf-8, so the browser properly decodes it
and displays it correctly:

<A HREF="/Ticket/Attachment/1179/146/">Download (untitled)</a> 
<div class="downloadcontenttype">
text/plain 3b 
</div> 
</div>
<div class="messagebody">
<font color="#000000">
Á <br>     <===== sample text (comment)
</font>
</div>
</div>
</TD>
</TR>

So i guess the problem is that the text in the source code of the page
is already decoded (when it shouldn't be), and when the browser tries to
decode it (because it thinks its in utf-8) the text gets messy.

rt version: 3.2.2 
perl version: 5.8.5
OS version: FreeBSD 5.3
apache version: 1.3.33_1
mod_fastcgi: 2.4.2
SearchBuilder: 1.35
mysql version: 4.1

I could add any other detail in perl module versions or whatever is
required.

Thanks in advance guys.

---
Ángel Blázquez
Systems Engineer/Administrator
Easynet España S.A.U.  
http://www.es.easynet.net



More information about the rt-users mailing list