Hi all I believe there's a bug in octstr_shrink_blanks() in gwlib/octstr.c
It does not shrink 2 whitespaces into 1, only when there's more than 2. The issue is with the line "if (j - i > 1)", it should test for > 0 It's very easy to write a small test binary to see that it doesn't work. After fixing it in my local repo it's working correctly (for 1, 2, 3+ consecutive spaces). Regards Werner Coetzee Werner Coetzee Senior Message Engine Engineer Tel:+27219107878 Email: werner.coet...@clickatell.com<mailto:werner.coet...@clickatell.com> [cid:image56bcaa.JPG@f43d4823.498236c0]<https://www.clickatell.com> Note: This disclaimer<https://www.clickatell.com/legal/general-terms-notices/privacy-notice/> applies to this email and its attachments