• src/xpdev/unicode.c unicode_defs.h

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, July 29, 2026 23:14:42
    https://gitlab.synchro.net/main/sbbs/-/commit/fc331f0f3e988c2119ab9507
    Modified Files:
    src/xpdev/unicode.c unicode_defs.h
    Log Message:
    xpdev: approximate the remaining dashes as an ASCII hyphen for CP437

    unicode_to_cp437() knew about EM DASH but not the four narrower dashes,
    so U+2010 HYPHEN, U+2011 NON-BREAKING HYPHEN, U+2012 FIGURE DASH and
    U+2013 EN DASH had no CP437 equivalent and came out as the unsupported character. CP437 has an exact glyph for none of them but a perfectly good approximation in the ASCII hyphen, which is already what
    utf8_normalize_str() folds all four into.

    This only shows up on the paths that convert without normalizing first;
    where both run, normalization gets there first and the result is the same either way.

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

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