You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Patrick <pa...@gmail.com> on 2010/04/09 02:22:07 UTC
extra html in my emails
When I do a sendEmailFromScreen and inspect the html, I'll get a lot
of garbage characters like this =09 =20
Does anyone have any idea what could be the cause?
Re: extra html in my emails
Posted by Patrick <pa...@gmail.com>.
I'm sending it through my gmail account. The data is getting mangled
when its negotiating with gmail apparently. fyi
On Fri, Apr 9, 2010 at 3:38 AM, Jacques Le Roux
<ja...@les7arts.com> wrote:
> Quick guess: looks like you get some wrong encoding and need to use
> StringUtil.wrapString() somewhere. Look for example in FTL file
>
> Could be another reason though (because I'm not quite sure about what =09
> =20 could be...)
>
> Jacques
>
>
> From: "Patrick" <pa...@gmail.com>
>>
>> When I do a sendEmailFromScreen and inspect the html, I'll get a lot
>> of garbage characters like this =09 =20
>> Does anyone have any idea what could be the cause?
>>
>
>
Re: extra html in my emails
Posted by Matt Warnock <mw...@ridgecrestherbals.com>.
In my experience, =09 and =20 usually indicate ascii characters getting
munged in translation somehow. =20 is ascii SPACE, =09 is ascii TAB.
Why they are being escaped with a = instead of the usual html \ is
another question, but I've seen Microsoft do this, don't know why.
--
Matt Warnock <mw...@ridgecrestherbals.com>
RidgeCrest Herbals, Inc.
On Fri, 2010-04-09 at 08:36 -0500, Patrick wrote:
> Thanks for the suggestion. I'm about to trace it. I'll just give you
> one more example in case your memory is jogged
>
> in the FTL
> <div class="screenlet">
>
> in the email I get this extra "3D"
> <div class=3D"screenlet">
>
> Regards,
> Patrick
>
>
> On Fri, Apr 9, 2010 at 3:38 AM, Jacques Le Roux
> <ja...@les7arts.com> wrote:
> > Quick guess: looks like you get some wrong encoding and need to use
> > StringUtil.wrapString() somewhere. Look for example in FTL file
> >
> > Could be another reason though (because I'm not quite sure about what =09
> > =20 could be...)
> >
> > Jacques
> >
> >
> > From: "Patrick" <pa...@gmail.com>
> >>
> >> When I do a sendEmailFromScreen and inspect the html, I'll get a lot
> >> of garbage characters like this =09 =20
> >> Does anyone have any idea what could be the cause?
> >>
> >
> >
Re: extra html in my emails
Posted by Patrick <pa...@gmail.com>.
Thanks for the suggestion. I'm about to trace it. I'll just give you
one more example in case your memory is jogged
in the FTL
<div class="screenlet">
in the email I get this extra "3D"
<div class=3D"screenlet">
Regards,
Patrick
On Fri, Apr 9, 2010 at 3:38 AM, Jacques Le Roux
<ja...@les7arts.com> wrote:
> Quick guess: looks like you get some wrong encoding and need to use
> StringUtil.wrapString() somewhere. Look for example in FTL file
>
> Could be another reason though (because I'm not quite sure about what =09
> =20 could be...)
>
> Jacques
>
>
> From: "Patrick" <pa...@gmail.com>
>>
>> When I do a sendEmailFromScreen and inspect the html, I'll get a lot
>> of garbage characters like this =09 =20
>> Does anyone have any idea what could be the cause?
>>
>
>
Re: extra html in my emails
Posted by Jacques Le Roux <ja...@les7arts.com>.
Quick guess: looks like you get some wrong encoding and need to use StringUtil.wrapString() somewhere. Look for example in FTL file
Could be another reason though (because I'm not quite sure about what =09 =20 could be...)
Jacques
From: "Patrick" <pa...@gmail.com>
> When I do a sendEmailFromScreen and inspect the html, I'll get a lot
> of garbage characters like this =09 =20
> Does anyone have any idea what could be the cause?
>