Roundcube Community Forum

 

charset issue @ displaying a message

Started by kenshin, August 09, 2006, 01:18:54 PM

Previous topic - Next topic

kenshin

This is an issue that I've encountered also in previous version.
Most of my friends use charset ISO-8859-2 and if they use some letters from alphabet of our language I can't read the e-mail. I see the characters till I hit the first "special" character and there is just blank page after that.

special characters: čćÃÂ...Ã,¾ÃÂ...Ã,¡đČĆÃÂ...Ã,½ÃÂ...Ã, Đ

kenshin

I found out where the problem could be.....in program/steps/mail/func.inc I've commented out $body = $IMAP->charset_decode($body, $parameters); and the whole message displays like it should. But if I try to force iso-8859-2 in main.inc.php ($rcmail_config['charset'] = 'iso-8859-2';) the mail again doesn't display like it should....and it doesn't matter if I use charset_decode or not.

what else can I try?

example of the e-mail (the original message):
PD NEMO in PotapljaÃÂ...Ã,¡ki center Murena organizirata organizirano potapljanje v Sv.
Marini pri Rabcu.

roundcubemail only displays:
PD NEMO in Potaplja


yllar

sent mail from thunderbird with encoding iso-8859-2 to RC rev 305

kenshin

If I check the message size befor the charset_decode function I have ~ 1936 characters, and after that function I only have 19. :(
I'll try to find out which client the mail was sent from....if it helps.

thanks!

kurija

I am getting the same issue with the following email:

X-Autorespond: test
From: "xxxxxxxxx"
Content-type: text/plain; charset=us-ascii
Subject: Respuesta automÃÃ,¡tica/Autoresponder
Date: Thu, 10 Aug 2006 15:57:19 -0500

Gracias por comunicarte conmigo. Estoy en el campo hasta principios de septiembre, pero para cualquier asunto de urgencia puede comunicarse con xxxx en la direcciÃÃ,³n xxxx@xxxxx.xxxx


viewed in roundcube mail all letters from the accented ÃÃ,³ onwards do not appear, I just see the following:

Gracias por comunicarte conmigo. Estoy en el campo hasta principios de septiembre, pero para cualquier asunto de urgencia puede comunicarse con xxxx en la direcci