Test filename encoding conversion (don't actually change the filename)

convmv

  • Convert filenames (NOT file content) from one encoding to another.
    More information: <https://www.j3e.de/linux/convmv/man/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

convmv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}

click the source code to copy install convmv on any operating system with command-not-found.com