1

In Windows, I often use copying a piece of text into notepad as a way of removing special characters that can cause trouble. This became a much more urgent problem in Android six months or so ago, when Android started rejecting any effort to rename a file that contained one or more forbidden printing or non-printing characters such as a colon or a carriage return. This change was not accompanied by any change to indicate what or where the problem character is.

Since I often try to rename PDF files with the real name of the document, copied from within the document, this has been a huge inconvenience. Is there any android text editing spp that removes or renders visible illegal characters as notepad does? Or has anyone found a good solution to this problem?

2
  • Use mv / sed or detox or convmv on any terminal emulator app. Btw a file cannot exist with "forbidden" characters in its name. They should be just "bad" characters; difficult to handle with common filesystem utilities or difficult to perceive. Commented Oct 17, 2022 at 6:26
  • I learnt to do it with SED years ago, I vaguely recall doing it with macro's
    – Archerbob
    Commented Oct 17, 2022 at 6:55

0

You must log in to answer this question.

Browse other questions tagged .