E-Mails encoded in ISO-8859-1 or -15 not showed correctly

General development questions

E-Mails encoded in ISO-8859-1 or -15 not showed correctly

Postby HarryMe » Wed Jun 27, 2012 9:24 am

Hi,

I'm using a Synology Diskstation with the latest Tine and have the problem that all E-Mails I receive from IMAP Servers are not displayed correctly as soon as they are encoded other than UTF-8.

Instead of the text, I get the following mailbody.
Ièkç¡®×«


When I want to open a mail, the following is written to the log file:
4180a Admin, Admin - 2012-06-27T07:18:46+00:00 DEBUG (7): Felamimail_Controller_Message::_getDecodeFilter::704 Appending decode filter: convert.iconv.ISO-8859-1/utf-8//IGNORE
4180a Admin, Admin - 2012-06-27T07:18:46+00:00 NOTICE (5): Felamimail_Controller_Message::decodingErrorHandler::656 stream_get_contents(): iconv stream filter ("ISO-8859-1"=>"utf-8//IGNORE"): unknown error in /volume1/web/tine/Zend/Mime/Part.php::253 (2)
4180a Admin, Admin - 2012-06-27T07:18:46+00:00 NOTICE (5): Felamimail_Controller_Message::_getDecodedBodyContent::623 Try again with fallback encoding.
4180a Admin, Admin - 2012-06-27T07:18:46+00:00 DEBUG (7): Felamimail_Controller_Message::_getDecodeFilter::704 Appending decode filter: convert.iconv.iso-8859-15/utf-8//IGNORE
4180a Admin, Admin - 2012-06-27T07:18:46+00:00 NOTICE (5): Felamimail_Controller_Message::decodingErrorHandler::656 stream_get_contents(): iconv stream filter ("iso-8859-15"=>"utf-8//IGNORE"): unknown error in /volume1/web/tine/Zend/Mime/Part.php::253 (2)
4180a Admin, Admin - 2012-06-27T07:18:46+00:00 NOTICE (5): Felamimail_Controller_Message::_getDecodedBodyContent::631 Fallback encoding failed. Trying base64_decode().


Obviously there is something wrong with the encoding function of the characters.

Can you please help me? I really need the mail function to work properly.

Thank you!
HarryMe
 
Posts: 94
Joined: Mon Apr 11, 2011 10:22 am

Re: E-Mails encoded in ISO-8859-1 or -15 not showed correctl

Postby ph_il » Thu Jun 28, 2012 11:54 am

i hate iconvs "unknown errors" ;)

perhaps the diskstation is using an outdated php version? could you post the phpinfo()?
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.tine20.net (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3513
Joined: Fri Mar 07, 2008 11:41 am

Re: E-Mails encoded in ISO-8859-1 or -15 not showed correctl

Postby HarryMe » Thu Jun 28, 2012 3:37 pm

HI ph_il,

I am very happy that someone answers me, because I am really on the ropes with that problem.

My Diskstation uses PHP 5.3.10. What information do you need from the phpinfo? I uploaded the first part in pdf format, see below.

This is not the latest version. However, as far as I know, PHP cannot be updated on the DiskStation!?

Thank you again!


Edit: I'm really sad that this does not work. It is really strange, when I send an ISO-8859-1 encoded mail which includes special characters ü, ä etc. in the subject line, these are displayed correctly. However, the mail body and only the body is not shown correctly. I even formatted the whole DiskStation and everything... but it does not work. I want to use Tine!!! :cry:
Attachments
phpinfo.pdf
(33.39 KiB) Downloaded 30 times
HarryMe
 
Posts: 94
Joined: Mon Apr 11, 2011 10:22 am

Re: E-Mails encoded in ISO-8859-1 or -15 not showed correctl

Postby ph_il » Mon Jul 16, 2012 2:39 pm

here is the bugreport, perhaps the iconv version is too low -> https://forge.tine20.org/mantisbt/view.php?id=6700
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.tine20.net (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3513
Joined: Fri Mar 07, 2008 11:41 am


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests

Startseite
NewsDemoDownloadForumWikiBlog
Support
Support at first hand!
If the forum does not help anymore ... Professional support is available directly from our Tine2.0 core Developers.

more »