• NeatNit@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Unicode in filenames? Are you crazy?!

      Okay that was /s to some extent but I gotta rant, I’m totally convinced that there’s still new software today that completely trip over themselves when files or paths have non-ASCII characters, or sometimes even a space. Incompetence didn’t go anywhere.

        • aulin@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Spaces in file names will always be fiddly though. It’ll work, but it’ll still be wrong, because arguments are space separated, and having spaced file names totally messes with that.

          • Fennek@feddit.org
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            1 year ago

            I try to just always put files names or paths into quotes in CLI or tie it to a variable in programming. This way it also accepts spaces and knows how to separate it from arguments.

      • pmk@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Unicode in filenames can be a bad idea, since there are more than one way to achieve what looks like the same character. So matching patterns could fail if you think it’s one way, but it’s actually another representation in unicode.