(skeletor is leading by example by adding that unnecessary apostrophe…)

    • body_by_make@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      10
      ·
      9 个月前

      \t is your best shot. For good measure, you’ll also want to add double quotes (can be used to escape commas in CSVs), double double quotes, back slashes, and |s, just to mess with anyone trying to sanitize a CSV with your password in it.

    • No_Ones_Slick_Like_Gaston@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      9 个月前

      Yes, char(9) is the SQL string for it.

      However most modern password attributes are blocking this from SQL injections where a playfully named user “Drop Table” does not cause any harm

    • perviouslyiner@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      9 个月前

      Of course. In Windows you can hold Alt and type 0 0 9 before releasing the Alt key to enter the character without triggering any “move to next field” behaviour. In *nix it should be Ctrl+I.

      Similar with other control characters - NUL (0) might be harder to type, yet substantially more likely to break things!

      SHY is good if you’d like a character which can’t be seen, without needing to resort to Unicode.