Tag Archives: characters
Cleaning log files before printing them to the console
Reply
If you send non-printable characters to your TTY you might corrupt it, and that’s no fun.
So before you print log files which might contain dodgy data to a console clean it by piping it through tr like this:
tr -c '\11\12\15\40-\176' '?'
IDN homograph attacks and confusable characters
Today I read about IDN homograph attacks. Basically it’s where Unicode characters that look like ASCII characters are put into a link so the link seems to go to a genuine/trusted site. In related news I found a list of confusable characters via stackoverflow. Also found a list of confusable symbols.