Standard output not always means console. Does redirecting ctags -f - output to a file also result in a bogus file? If not, then it would probably be better to introduce a new option like --console or --filter-chars.
I'm afraid in some cases these non-printable characters may be important and it's not good to skip them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
patch for bug 3065044
Standard output not always means console. Does redirecting ctags -f - output to a file also result in a bogus file? If not, then it would probably be better to introduce a new option like --console or --filter-chars.
I'm afraid in some cases these non-printable characters may be important and it's not good to skip them.
What cases are they important? Yes, the file is bogus too. Tools that parse the tag files will get screwed up.