This is a patch for this bug: https://sourceforge.net/tracker/?func=detail&aid=3065044&group_id=6556&atid=106556
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.