RT web interface displaying issues with special iso-8859-1 characters

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:

Download(untitled)

text/plain 3b
Á
<===== sample text (comment)

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:

Download (untitled)

text/plain 3b
Á
<===== sample text (comment)

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.

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:

Download(untitled)

text/plain 3b
Á
<===== sample text (comment)

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:

Download (untitled)

text/plain 3b
Á
<===== sample text (comment)

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.