Add the soft-hyphen character to the list of non-printing chars

Closes #1310