• src/encode/utf8.c utf8.h

    From rswindell@VERT to CVS commit on Sunday, July 07, 2019 21:23:48
    src/encode utf8.c 1.4 1.5 utf8.h 1.3 1.4
    Update of /cvsroot/sbbs/src/encode
    In directory cvs:/tmp/cvs-serv22828

    Modified Files:
    utf8.c utf8.h
    Log Message:
    Add function cp437_to_utf8_str().



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, August 03, 2019 01:05:09
    src/encode utf8.c 1.8 1.9 utf8.h 1.5 1.6
    Update of /cvsroot/sbbs/src/encode
    In directory cvs:/tmp/cvs-serv4240

    Modified Files:
    utf8.c utf8.h
    Log Message:
    New functions: utf8_str_total_width() and utf8_str_count_width().


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Thursday, February 10, 2022 16:01:28
    https://gitlab.synchro.net/main/sbbs/-/commit/d9660eaf60094e10ef2ec54e
    Modified Files:
    src/encode/utf8.c utf8.h
    Log Message:
    New functions utf8_to_cp437_str() latin1_to_utf8_str() utf8_to_latin1_str()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Wednesday, May 24, 2023 13:14:35
    https://gitlab.synchro.net/main/sbbs/-/commit/01cf3f87739aa57703cb97bc
    Modified Files:
    src/encode/utf8.c utf8.h
    Log Message:
    Comment header block update (only)

    ---
    þ 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 Tuesday, February 06, 2024 12:35:50
    https://gitlab.synchro.net/main/sbbs/-/commit/5e4964c4b2e80c9d413a3871
    Modified Files:
    src/encode/utf8.c utf8.h
    Log Message:
    Add utf8_decode_firstbyte()

    for use when all you need is the length (and validity) of the first byte in
    a UTF-8 sequence.

    ---
    þ 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 Thursday, February 15, 2024 21:37:00
    https://gitlab.synchro.net/main/sbbs/-/commit/88a7e14ecd5b55bfcca1f261
    Modified Files:
    src/encode/utf8.c utf8.h
    Log Message:
    Create utf8_strlcpy() which does a "safe" truncated-string copy

    (doesn't leave a partial UTF-8 sequence at the end of the destination string).

    This calls memcpy() for every char, which may not be performant, but I didn't (yet) do any profiling. Hence, no premature optimization either.

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