• 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