Re: [twsocket] HttpCli in v5 - Different Encoding Perhaps?
Hi JP, I thought at first it was some Unicode format but then why don't I have a #0 before each character? Shouldn't it be like this: #0F#0u#0n#0k#0y#0 #0T#0e#0x#0t ? Two Bytes per Char ... So I'll have to make a converter for this right? This makes me sad :'( Thanks for your time, Cheers, Marcelo Grossi - Original Message - From: Jean-Paul Passama [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, July 14, 2006 7:19 PM Subject: Re: [twsocket] HttpCli in v5 - Different Encoding Perhaps? Hi Marcello, These characters seem to be in UTF-8 code. JP Marcelo Grossi a écrit : Hello, I'm having some trouble with HttpCli in an old app I have. I just installed the new version (v5) and when I go parse some page I get from the component the text is coming with some weird chars instead of regular ASCII ones. The old ICS I used when I built the application was a very old version (probly v3 or somethin). Bellow is a small example of the problem: Normal HTML Source: Projeto de redução de pena pela educação não vai esvaziar presídios, HTML Source From HttpCli (using a TStringStream as RcvdStream): Projeto de redução de pena pela educação não vai esvaziar presÃdios, List of some buggy chars and what they ought to be (what I get = what they should be): ú = ú à = à ó = ó õ = õ ç = ç ã = ã à = í á = á ê = ê é = é Does anybody has an idea of what this is suposed to be? Thanks in advance, Marcelo Grossi -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Message-Id is not valid, according to RFC 2822
BTW: You can always search the list archive at: http://www.elists.org/pipermail/twsocket Actually I did try this first, but got Page not available Thank you, Arno, for your help, project now working, but on sending myself a message I get back X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on as002.apm-internet.net X-Spam-Report: * 1.7 INVALID_MSGID Message-Id is not valid, according to RFC 2822 - - Received: from unknown (HELO Kaythorn) (62.255.116.96) by smtp001.apm-internet.net with SMTP; 17 Jul 2006 13:19:34 - Reply-To: [EMAIL PROTECTED] Return-Path: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Confirmation of Sales Enquiries emails Sender: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Date: Mon, 17 Jul 2006 14:29:28 +0100 Message-ID: [EMAIL PROTECTED] Couvela X-Mailer: ICS SMTP Component V2.50 Is there something I can do to pacify X-Spam? -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Message-Id is not valid, according to RFC 2822
kaythorn wrote: BTW: You can always search the list archive at: http://www.elists.org/pipermail/twsocket Actually I did try this first, but got Page not available Possibly it was temporarily not available, usually it works. Thank you, Arno, for your help, project now working, but on sending myself a message I get back X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on as002.apm-internet.net X-Spam-Report: * 1.7 INVALID_MSGID Message-Id is not valid, according to RFC 2822 A message-id according to RFC 2822 is simply a unique id. I wonder why SpamAssassin recognize it as invalid. Maybe because the local hostname contains a space? SmtpProt.pas: function GenerateMessageID : String; {AG} begin Result := FormatDateTime('mmddhhnnsszzz', Now + TimeZoneBiasDT) + '.' + IntToHex(Random(32767), 4) + IntToHex(Random(32767), 4) + IntToHex(Random(32767), 4) + IntToHex(Random(32767), 4) + '@' + LocalHostName; end; LocalHostName() returns the Windows computer name if a DNS name is unavailable. Also note that Helo/Ehlo uses LocalHostName() as well in case of property SignOn is blank, according to the RFC the Helo-string may not contain spaces. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html - Received: from unknown (HELO Kaythorn) (62.255.116.96) by smtp001.apm-internet.net with SMTP; 17 Jul 2006 13:19:34 - Reply-To: [EMAIL PROTECTED] Return-Path: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Confirmation of Sales Enquiries emails Sender: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/html; charset=iso-8859-1 Date: Mon, 17 Jul 2006 14:29:28 +0100 Message-ID: [EMAIL PROTECTED] Couvela X-Mailer: ICS SMTP Component V2.50 Is there something I can do to pacify X-Spam? -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Message-Id is not valid, according to RFC 2822
Hello! Thank you, Arno, for your help, project now working, but on sending myself a message I get back X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on as002.apm-internet.net X-Spam-Report: * 1.7 INVALID_MSGID Message-Id is not valid, according to RFC 2822 [..] Message-ID: [EMAIL PROTECTED] Couvela [..] Is there something I can do to pacify X-Spam? Remove that space (the one between Roland and Couvela). -- Piotr Dalek [EMAIL PROTECTED] -- PS. Fajny portal... http://link.interia.pl/f196a -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be