Hi, After receiving my message I see that code for reproduce problem is changed during transfer (spaces removed from beginning of test string).
So, to reproduce problem run this: AnsiString tmpStr="MANY SPACEs Bla Bla Bla"; HdrEncodeInLine(tmpStr,SpecialsRFC822,'Q',"windows-1251",60,true); Replace "MANY SPACEs" with 80-90 spaces. --- With best regards, Max Terentiev. Business Software Products. AMS Development Team. supp...@bspdev.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be