• src/xpdev/unicode.c unicode_defs.h

    From Rob Swindell to Git commit to sbbs/master on Saturday, September 05, 2020 15:05:12
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/e2c4f45de48a4d4011e2498b
    Modified Files:
    src/xpdev/unicode.c unicode_defs.h
    Log Message:
    Translate UNICODE KATAKANA letter TU to CP437 Black smiling face (for Hustler)
  • From Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Thursday, February 15, 2024 21:37:00
    https://gitlab.synchro.net/main/sbbs/-/commit/3b4ec79b4aa0b5bccc389526
    Modified Files:
    src/xpdev/unicode.c unicode_defs.h
    Log Message:
    Better unicode character display-width calculation (in columns)

    Tested with Windows Terminal Version: 1.18.10301.0 and all codepoints between 0x100 and 0x1FFFF, this change reduces the width mismatches from > 8000 to
    349. The "Zero width" mismatches are probably the most important/glaring and will need to be addressed next (since some terminals don't move the cursor
    for zero width chars, and some do).