• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    21
    ·
    1 day ago

    Generally a bad idea to use in-band signalling like that. They won’t do anything weird but consider what happens if the actual data contains them.

  • SpaceNoodle@lemmy.world
    link
    fedilink
    arrow-up
    26
    ·
    1 day ago

    1E and 1F were actually originally intended to be used as record and unit separators, respectively, so that’s actually not a bad idea. The description for those fields in the article you linked even mentions that they’re suited for use as field delimiters.

  • bamboo@lemm.ee
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    Depends on if you want your data format to be strict ascii. If you don’t care, then sure, why not?

  • MinekPo1 [it/she]@lemmygrad.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 day ago

    depends on your format ? if the format is binary anyway or has binary blobs (ie it needs a program that is able to handle octets outside the printable range) and using those characters does not introduce any ambiguities with the format then go for it . ANSI and related control codes all start with 0x1B