Yup, someone already replied in private with that exact quote!....

Thanks a lot, this was exactly my problem! :)



On 19-Dec-08, at 3:27 PM, Andrew Farmer wrote:

On 19 Dec 08, at 10:24, Jean-Nicolas Jolivet wrote:
Well after comparing the data that I am receiving with the data that I SHOULD be receiving, it turns out that dots (yes, the dot character (.) ) are added all over the place in the data.... if I have 10 extra bytes, it means 10 extra dots were added to my data, so for example, a line that SHOULD read:

.m;{äMã≈P#ü1ˆTMë&L>ÆÖ-«∏4iˇ¯àÚPë‡gêæ¯Ø

Instead reads:
..m;{äMã≈P#ü1ˆTMë&L>ÆÖ-«∏4iˇ¯àÚPë‡gêæ¯Ø

Notice the extra dot at the beginning of the line... it turns out that ALL the extra dots that gets added are at the beginning of lines, when there is already a dot there....

RFC 977, section 2.4.1 states:

If the text contained a period as the first character of the text line in the original, that first period is doubled. Therefore, the client must examine the first character of each line received, and for those beginning with a period, determine either that this is the end of the text or whether to collapse the doubled period to a single one.

You'll need to check for and remove these characters yourself.

Jean-Nicolas Jolivet
silver...@videotron.ca
http://www.silverscripting.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to