• exec/load/sbbsdefs.js src/sbbs3/inkey.cpp sbbsdefs.h

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 22:39:05
    https://gitlab.synchro.net/main/sbbs/-/commit/55ccda6294f82506663d89b6
    Modified Files:
    exec/load/sbbsdefs.js src/sbbs3/inkey.cpp sbbsdefs.h
    Log Message:
    inkey() now returns CP437 characters by default

    K_CP437 changed to K_UTF8 with the inverted logic. If you have code/script
    that can handle UTF-8 input, then you need to specify K_UTF8 in calls to
    inkey, getkey, getstr. Or else, you're going to get a CP437 translated
    version of any non-ASCII (UNICODE) UTF-8 chars, if there's a mapping
    available. This only impacts UTF-8 terminals.

    There are just so many places in Synchronet where UTF-8 input could cause problems, it makes sense to translate UTF-8 to CP437 by default and make
    true UNICODE/UTF-8 handling the exception.

    Sorry Nightfox, you'll need to remove the K_CP437 detection/use code you
    just added to SlyEdit.

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