Author Topic: charset issue @ displaying a message  (Read 5872 times)

Offline kenshin

  • Newbie
  • *
  • Posts: 3
charset issue @ displaying a message
« on: August 09, 2006, 01:18:54 PM »
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: čćžšđČĆŽŠĐ

Offline kenshin

  • Newbie
  • *
  • Posts: 3
Re: charset issue @ displaying a message
« Reply #1 on: August 10, 2006, 03:03:34 AM »
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


Offline yllar

  • Full Member
  • ***
  • Posts: 106
Re: charset issue @ displaying a message
« Reply #2 on: August 10, 2006, 04:26:11 AM »
sent mail from thunderbird with encoding iso-8859-2 to RC rev 305
irc://irc.freenode.net:6667/#roundcube

Offline kenshin

  • Newbie
  • *
  • Posts: 3
Re: charset issue @ displaying a message
« Reply #3 on: August 10, 2006, 04:42:32 AM »
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!

Offline kurija

  • Newbie
  • *
  • Posts: 1
Re: charset issue @ displaying a message
« Reply #4 on: August 10, 2006, 05:04:03 PM »
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