• DDMsgReader: When listing messages via lightbar, check if the subject

    From Rob Swindell@VERT to GitLab note in main/sbbs on Sunday, June 30, 2024 13:14:59
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/442#note_5390

    I suspect with this change, textIsUTF8 will *always* be `true`. Are you actually seeing messages with subjects that are *not* valid UTF-8?

    All ASCII strings are valid UTF-8, while not all UTF-8 strings are valid ASCII.

    You probably mean to write something more like this:
    ```
    str_is_ascii(str) === false && str_is_utf8(str) === true
    ```

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to GitLab note in main/sbbs on Sunday, June 30, 2024 14:01:45
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/442#note_5392

    Logically that makes sense, though it has the same effect in the message list either way. I've updated it to check this way and pushed my changes, and ran another build pipeline.

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