• chuymatt@startrek.website
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 天前

    If you just replace letters with alternate versions of those letters, with different Unicode, wouldn’t it set off the spell checker?

    Oh, that would be fun.

    • Tenkard@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 天前

      I was thinking more about source code, bash scripts won’t run on Unix if you got a crlf and cli editors do not display them differently (by default). Python scripts needed a declaration on top to run with a certain encoding, but the error there is clearer. If you use them as string constants it’s also going to just work internally but may break if you compare them with an external value