You are not logged in.
Pages: 1
I was talking about the message I received when I registered to this forum (so it's not me to add the Message-Id).
I also hate those tricks used to guess who is a spammer and who isn't but nowadays, if you want your emails to arrive, you should comply to some of those tricks.
Ok I get it, thanks for the explanations and for pointing me to the warnings. And for the great component !
But SysUtils.Trim() works as expected (by just removing the line "Uses SynCommons;") so I see this as a bug.
Registration messages are seen as SPAM by spamassassin with default configuration :
Détails de l'analyse du message: (5.0 points, 5.0 requis)
0.9 RCVD_NUMERIC_HELO Received: contient un HELO numérique
1.2 RCVD_HELO_IP_MISMATCH Received: HELO and IP do not match, but should
1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
0.1 MISSING_MID Missing Message-Id: header
1.5 FSL_HELO_BARE_IP_2 No description available.
When using SynCommons.Trim() on a (string) variant and placing the result in another (string) variant, we lose all accented characters. No problem when using SysUtils.Trim.
Uses SynCommons;
procedure TForm2.Button1Click(Sender: TObject);
var st : String;
v,v2 : Variant;
begin
v:='sérieux ';
v2:=Trim(v);
st:=v2;
showmessage(v+' => '+st); // st contains "srieux"
end;
Using mORMot framework 1.18 (today's nightly build) on Delphi 2010
Pages: 1