Re: MsgBase.save_msg() and line endingsã By: Nightfox to Digital Man on Sun Jan 20 2013 09:35 pmãã > Hi DM -ã >ã > When using MsgBase's save_msg() function, does it matter what newlineã > character(s) are used at the end of the lines? If all the lines end withã > \r\n, will the message be posted with the proper newlines regardless ofã > what platform the script/Synchronet is running in?ããSMB has required lines be termined with "\r\n" since it's inception. One recent ãchange to this is that so-called "soft carriage-returns" are now encoded asã" \n". This is because Synchronet (as of v3.15) now rd-word-wraps messages when ãdisplaying via the Terminal Server (e.g. ANSI over Telnet) and we needed a ãdistinction between auto-wrapped lines (via an editor's word-wrapping) and a ãso-called "hard CR" (when the author hit ENTER). See docs/WRAP.txt or ask Deuce ãfor more details.ãã > Also, does Synchronet provide a JavaScript variable/property anywhere thatã > contains the proper newline character(s) for the current platform? Or doesã > it even matter?ããThe new-line encoding in SMB is not specific to the "current platform" or ãclient.ãã digital manããSynchronet "Real Fact" #60:ãHow to get Synchronet technical support:
http://wiki.synchro.net/howto:supportãNorco, CA WX: 65.6øF, 8.0% humidity, 11 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã