Parsing Email content - strange chars
[1/2] from: carlos::lorenz::gmail::com at: 15-Sep-2009 16:43
Hi list,
I have this script that parses the content of some messages
that works fine untill it encounters messages that come
with a lot of strange chars in it. For instance this lots of =E0 =E7=E3 etc.
How can I get rid of it?
make object! [ To: [xmltv-pop.com.br] CC: none BCC: none From: [
atendimento-revistaeletronica.com.br] Reply-To: none Date:
15-Sep-2009/16:28:12-3:00 Subject: "Fwd:" Return-Path: none Organization:
none Message-Id: {} Comment: none X-REBOL: "Core 2.6.2.4.2
http://WWW.REBOL.COM" MIME-Version: "1.0" Content-Type:
{multipart/alternative; boundary=0016e6d977c0aa30c30473a2c90b} Content:
{--0016e6d977c0aa30c30473a2c90b Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable Carlos Lorenz Unidade Lorenz
Ltda www.revistaeletronica.com.br (11) 4034 1971 (11) 7100 1540 pessoal
---------- Forwarded message ---------- From: atendimento Date: 2009/9/15
Subject: To: xmltv [image: Bras=E3o da Rep=FAblica] Minist=E9rio da Fazenda
Secretaria da Receita Federal do Brasil *Comprovante de Inscri=E7=E3o e de
Situa=E7=E3o Cadastral no CPF* N*o* do= CPF: 926.970.822-53 Nome da Pessoa
F=EDsica: CARLOS ADHERBAL LORENZ FILHO Situa=E7=E3o Cadastral: REGULAR
Comprovante emitido =E0s: *09:39:00* do dia *15/09/2009* (hora e data de
Bras=EDlia). C=F3digo de controle do comprovante: *99FE.E46F.6B25.682F* A
autenticidade deste comprovante dever=E1 ser confirmada na p=E1gina da
Secretaria da Receita Federal do Brasil na Internet, no endere=E7o
www.receita.fazenda.gov.br. Aprovado pela IN/RFB n*o* 864, de 25/07/2008.
Carlos Lorenz Unidade Lorenz Ltda www.revistaeletronica.com.br (11) 4034
1971 (11) 7100 1540 pessoal --0016e6d977c0aa30c30473a2c90b Content-Type:
text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
[2/2] from: compkarori:gma:il at: 18-Sep-2009 21:23
Have a look at this
http://www.codeconscious.com/rebsite/rebol-library/encodings.r
On Wed, Sep 16, 2009 at 7:43 AM, Carlos Lorenz <carlos.lorenz-gmail.com> wrote:
> Hi list,
> I have this script that parses the content of some messages
<<quoted lines omitted: 26>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Graham Chiu
http://www.synapsedirect.com
Synapse - the use from anywhere EMR.
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted