• src/encode/utf8.h cp437_unicode_tbl.c cp437_unicode_tbl.h objects.mk utf8.c unicode.c unicode.h

    From rswindell@VERT to CVS commit on Sun Jul 7 21:07:23 2019
    src/encode utf8.h 1.2 1.3 cp437_unicode_tbl.c 1.2 NONE cp437_unicode_tbl.h 1.2 NONE objects.mk 1.4 1.5 utf8.c 1.2 1.3 unicode.c NONE 1.1 unicode.h NONE 1.1
    Update of /cvsroot/sbbs/src/encode
    In directory cvs:/tmp/cvs-serv1590

    Modified Files:
    utf8.h objects.mk utf8.c
    Added Files:
    unicode.c unicode.h
    Removed Files:
    cp437_unicode_tbl.c cp437_unicode_tbl.h
    Log Message:
    Moved cp437_unicode_tbl and unicode_is_zerowidth() to (new file) unicode.c.
    New function (derived from sbbs_t::utf8_to_cp437()): unicode_to_cp437()
    New utf8 functions: utf8_replace_chars(), utf8_str_is_valid().
    utf8_getc() enhancement: val arg may be NULL (for length/validation uses).



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