-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
charset iso-8859-1 not decoded #3510
Comments
Comment by @alecpl on 19 Sep 2011 06:25 UTC Works for me with svn-trunk version. |
Status changed by @alecpl on 19 Sep 2011 06:25 UTC new => closed |
Milestone changed by @alecpl on 19 Sep 2011 06:25 UTC => 0.6-stable |
Comment by phKU on 19 Sep 2011 13:57 UTC Sorry, but the issue is still there on:
|
Status changed by phKU on 19 Sep 2011 13:57 UTC closed => reopened |
Comment by @thomascube on 19 Sep 2011 14:05 UTC Works for me, too. Tested with Roundcube release 0.5.4, 0.6-rc and trunk. Where exactly are the strings not decoded? Subject, From/To, Content? |
Comment by @thomascube on 19 Sep 2011 14:08 UTC What IMAP server sofware do you use? Maybe the message structure with the charset header isn't correctly transferred to Roundcube. |
Comment by phKU on 19 Sep 2011 15:30 UTC Thanks for your help ;) This issue affect only the [part though the subject and the [also contains iso-8859-1 encoded text. I don't know the imap server version (located at mail.dreamhost.com), but I doubt this is the cause since the mails are perfectly read by my cited above other mail clients. 1 Source extract of broken mail:
render to:[ quand-mme les premires lments de rponse du jplrv. Bonne journe, Albert 2 Source extract of working example (from same sender):
render to:[[BR]] bonnne soire, Albert |
Comment by @alecpl on 19 Sep 2011 15:45 UTC Please, do debug of IMAP conversation. |
Comment by phKU on 20 Sep 2011 14:37 UTC IMAP conversation as attachment #2 |
Comment by @alecpl on 20 Sep 2011 16:52 UTC The IMAP response looks fine. What PHP version, what OS? |
Comment by phKU on 20 Sep 2011 19:33 UTC
|
Comment by phKU on 21 Sep 2011 01:02 UTC Some new clues:
|
Comment by @alecpl on 21 Sep 2011 06:06 UTC Replying to phKU:
Add console($body); before this line and check logs/console. You could also debug other places in the code this way.
But why it works in my environment? |
Comment by phKU on 24 Sep 2011 00:21 UTC After further investigations, I noted following points:
@alec: If you think it could be useful, I could setup for you a test install with a test account and forward there (raw forwarding) some bugged mails for further testing. Thanks anyway for your help ;) |
Comment by @alecpl on 24 Sep 2011 06:46 UTC Replying to phKU:
Because it's working in my environment, to do an investivation I would need ssh access to your Roundcube instance. If it would be possible write to me - alec at alec dot pl. |
Status changed by @alecpl on 27 Sep 2011 08:35 UTC reopened => closed |
Comment by @alecpl on 22 Oct 2011 13:48 UTC I've investigated the issue on requestor's system. The problem is with html parts of the messages. Precissely, the messages contain malformed HTML content where tag with charset specification is put inside of the tag. This is not correctly handled by PHP's DOMDocument. Characters are broken inside of washtml class. While it works on my system I assume it has been fixed in PHP 5.3. Broken system uses PHP 5.2.17. As a workaround we can make sure the tag is inside the head. |
Status changed by @alecpl on 22 Oct 2011 13:48 UTC closed => reopened |
Milestone changed by @alecpl on 22 Oct 2011 13:48 UTC 0.6-stable => 0.7-beta |
Status changed by @alecpl on 23 Oct 2011 08:49 UTC reopened => closed |
Reported by phKU on 18 Sep 2011 22:36 UTC as Trac ticket #1488093
Context: incoming mails
Incoming mails with iso-8859-1 encoding content are not decoded at all. Character codes are showing instead of the correct localized character. For example, '=E9' instead of '', '=2C' instead of ',' , etc (see the attached mail).
Thanks in advance for any help ;)
Keywords: charset encoding reading
Migrated-From: http://trac.roundcube.net/ticket/1488093
The text was updated successfully, but these errors were encountered: