• exec/load/newsutil.js

    From rswindell@1:103/705 to CVS commit on Thu May 2 02:38:54 2019
    exec/load newsutil.js 1.28 1.29
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv26829

    Modified Files:
    newsutil.js
    Log Message:
    Work-around error reported by Jason (HDCBBS):
    !JavaScript /sbbs/exec/newslink.js line 936: Error: Error -110 adding RECIPIENTADDR field to message header

    This is likely because we're trying to auto-detect the network-address type
    and failing, so just force it to NET_INTERNET here.


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Jul 24 18:56:40 2019
    exec/load newsutil.js 1.30 1.31
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25078

    Modified Files:
    newsutil.js
    Log Message:
    Use the new is_utf8 header property to set the message header "charset=UTF-8" instead of "charset=IBM437", when appropriate.


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Jul 24 19:04:37 2019
    exec/load newsutil.js 1.31 1.32
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv26306

    Modified Files:
    newsutil.js
    Log Message:
    Clean up previous commit (pretty much a copy/paste from 822header.js)


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Jun 7 20:20:38 2020
    exec/load newsutil.js 1.33 1.34
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv16109

    Modified Files:
    newsutil.js
    Log Message:
    If a MIME content-type was not specified, decode_news_body() will now auto-detect UTF-8 body text and set the FTN charset header field accordingly.


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Mar 13 20:35:25 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/0546fa33fab7404a70287910
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Do the FTN CHRS kludge to MIME charset translation for CP866->koi8-rfor Al (TRMB) and his Russian users, requested via DOVE-Net.Do an FTN "ASCII 1" -> "US-ASCII" translation of the CHRS->charset too.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Dec 3 17:33:19 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/40c87dc4166afdc21a5f1e43
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Correct comment about return value of function

    Why does a function this small need a comment describing its return value in the first place? <sigh>
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Dec 21 00:10:00 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/b256f4ae6b0aea93e488c150
    Modified Files:
    exec/load/newsutil.js
    Log Message:
    Convert LATIN-1 to ISO-8859-1 charset on export to NNTP

    From: Carlos Navarro (2:341/234.1)

    Messages that use CHRS: LATIN-1 are not displayed properly in newsreaders (Synchronet's NNTP server renders them with the default charset=IBM437).

    This fix may work: edit exec/load/newsutil.js, at line 77 insert

    case "LATIN-1 2":
    charset = "ISO-8859-1";
    break;

    If you want to test: ßΘφ≤· ± (accented aeiou, n with tilde)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)