I have a server written in C++, and when receiving a chat string, I’d like to remove weird special characters like the one created by Ctrl + Backspace (though not other symbols like :)]>_ etc.)
I’m using Boost, too.
edit: Why’d this get -1’d? It’s a legit question.
Sounds like
isprintmight help. It returns true for any printable character, ie. not for control characters and whitespaces. For a list of what is considered printable and what not, take a look at this table.