remove unprintable characters.