On 4/5/23 08:13, Bob Sneidar via use-livecode wrote:
Thanks Phil. Yes I learned the hard way with my SQL Agent to base64encode anything over sockets. And yes I do append a numtochar(13) coming and going and strip it off before decoding and read until numToChar(13). I don't use cr because I am uncertain how each OS platform treats it. The Server Agent could be running on anything in the future.
If you're already base64encoding the text you might consider a different end character than numtochar(13). For instance, numtochar(3) is already defined as "End of Text". That should eliminate or at least reduce any cross-platform issues you might run into.
https://www.ascii-code.com/ -- Mark Wieder ahsoftw...@gmail.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode