• src/smblib/smblib.c smblib.h

    From rswindell@VERT to CVS commit on Fri Jul 5 17:27:02 2019
    src/smblib smblib.c 1.198 1.199 smblib.h 1.94 1.95
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv3716

    Modified Files:
    smblib.c smblib.h
    Log Message:
    Created new SMBLIB function: smb_msg_is_utf8() which reutrns TRUE if the passed message body is UTF-8 encoded. This works for either messages received via FTN (with the "CHRS: UTF-8" control paragraph) or MIME-encoded messages (e.g. Internet e-mail).

    This is to be used by things to display messages. If the viewer (e.g. user's terminal) supports UTF-8, just send through as-is. If not, translation (e.g. to CP437) or filtering may be needed.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Apr 25 18:33:39 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/873908db36a23afa01c831ad
    Modified Files:
    src/smblib/smblib.c smblib.h
    Log Message:
    Create smb_msg_is_ascii()

    This function returns true if the message *header* explicitly claims that the message contains only US-ASCII chars.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net