• Feature request: JS petscii-to-cp437/ascii converstion function

    From Eric Oulashin@1:103/705 to GitLab issue in main/sbbs on Thu Feb 19 14:15:11 2026
    open https://gitlab.synchro.net/main/sbbs/-/issues/1074

    m1ndsurfer mentioned that some file_id.diz file descriptions for Commodore 64 files have PETSCII characters in them, which naturally don't display properly if the user's terminal doesn't support PETSCII. It might be handy if there was a JavaScript function to convert PETSCII to ASCII/CP437. My file lister would probably be able to use such a function to convert PETSCII to ASCII/CP437 if the user's terminal doesn't support PETSCII (and a JS function like str_is_petscii(), similar to str_is_utf8() & others, could be useful too). It looks like the Synchronet C++ code might have internal functionality already? (petscii_to_ansibbs())
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thu Feb 19 14:55:18 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/1074#note_8366

    Synchronet already converts charsets on the fly, CP437 is the default/native encoding unless there's some other indicator (e.g. UTF-8 BOM in UTF-8 files or .seq file extension for PETSCII files).
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)