cancel
Showing results for 
Search instead for 
Did you mean: 

HTML decoding issue

leeo
Newbie
Posts: 3
Registered: 30-01-2008

HTML decoding issue

I've been using Roundcube internally (on my own installation) for about a month now, and really like it.
Here's the first issue I have come across: A multipart text/HTML email which is quoted-printable encoded doesn't display properly...
After all the headers (which look perfectly normal), get the following:
(headers removed)
Subject: Fwd: xxxxx from xxxx on article.

--Apple-Mail-7--71608762
Content-Type: text/plain;
charset=WINDOWS-1252;
format=flowed;
delsp=yes
Content-Transfer-Encoding: quoted-printable

Begin forwarded message:
> From: "xxx" <xxxxx@btinternet.com>
> Date: 7 September 2008 21:14:42 GMT+00:00
> To: "'xxxxxx'" <xxxx@blueyonder.co.uk>
> Subject: RE: xxx from xxxx on article.
>
> HI Nigel, thanks for the EP I=92ve been absorbing Glorystrokes as I =20=
> drive round Cheshire and I have to say you=92ve livened up my route to =
=20
> work no end!
<snip>

--Apple-Mail-7--71608762
Content-Type: text/html;
charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><br><div><br><div>Begin =
forwarded message:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><font face=3D"Helvetica" size=3D"3" color=3D"#000000" =
style=3D"font: 12.0px Helvetica; color: #000000"><b>From: =
</b></font><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">"xxxxx" &lt;<a =
href=3D"mailto:xxxxx@btinternet.com">xxxx@btinternet.com</a>></=
font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>Date: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">7 September 2008 21:14:42 =
GMT+00:00</font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>To: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">"'xxxx'" &lt;<a =
href=3D"mailto:xxxx@blueyonder.co.uk">xxxxx@blueyonder.co.uk<=
/a>></font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: 12.0px Helvetica; color: =
#000000"><b>Subject: </b></font><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica"><b>RE: xxxx from xxxx on =
article.</b></font></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><br></div> </div><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0; "><div lang=3D"EN-GB" link=3D"blue" =
vlink=3D"purple" style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space; "><o:smarttagtype =
namespaceuri=3D"urn:schemas-microsoft-comShockedffice:smarttags" =
name=3D"Street"><o:smarttagtype =
namespaceuri=3D"urn:schemas-microsoft-comShockedffice:smarttags" =
name=3D"address"><o:smarttagtype =
namespaceuri=3D"urn:schemas-microsoft-comShockedffice:smarttags" =
name=3D"City"><o:smarttagtype =
namespaceuri=3D"urn:schemas-microsoft-comShockedffice:smarttags" =
name=3D"place"><div class=3D"Section1"><div style=3D"margin-top: 0cm; =
margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: =
12pt; font-family: 'Times New Roman'; "><font size=3D"2" color=3D"navy" =
face=3D"Arial"><span style=3D"font-size: 10pt; font-family: Arial; =
color: navy; ">HI Nigel, thanks for the EP I=92ve been absorbing =
Glorystrokes as I drive round<span =
class=3D"Apple-converted-space">&nbsp;</span><st1:city =
w:st=3D"on"><st1:place w:st=3D"on">Cheshire</st1:place></st1:city><span =
class=3D"Apple-converted-space">&nbsp;</span>and I have to say you=92ve =
livened up my route to work no end!
<snip>
Basically the plain text portion displays fine including the forwarded message (in squirrel), and I can view the HTML email fine in Entourage, but Roundcube only displays this:

Begin forwarded message:
    From: "xxxx" <xxxx@btinternet.com>
    Date: 7 September 2008 21:14:42 GMT+00:00
    To: "'xxx'" <xx@blueyonder.co.uk>
    Subject: RE: xxx from xxx on article.
and nothing beyond that (and view source shows no content).
I have seen a few things on the roundcube forum and their bug trac relating to quoted-printable issues...
Lee
3 REPLIES
Superuser
Superuser
Posts: 2,510
Thanks: 219
Fixes: 5
Registered: 06-04-2007

Re: HTML decoding issue

Hi Lee
Have you tried this on the betawebmail server?  It appears to be working correctly there.  I installed Roundcube myself on my server a bit ago and it's looking right there as well.
Phil
leeo
Newbie
Posts: 3
Registered: 30-01-2008

Re: HTML decoding issue

Yes, this is the behaviour seen on the betawebmail installation.
(the comment about my internal installation was just some background that i've been using it for a month and this is the first real problem that concerns me)
Cheers
Community Gaffer
Community Gaffer
Posts: 12,850
Thanks: 669
Fixes: 64
Registered: 04-04-2007

Re: HTML decoding issue

This and this of any relevance I wonder?

Bob Pullen
Plusnet Products Team
If I've been helpful then please give thanks ⤵